2012-08-25 09:13:59 +00:00
|
|
|
{ stdenv, fetchurl, liblockfile }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
_name = "lockfile-progs";
|
2013-12-15 11:21:56 +00:00
|
|
|
version = "0.1.17";
|
2012-08-25 09:13:59 +00:00
|
|
|
name = "${_name}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://debian/pool/main/l/${_name}/${_name}_${version}.tar.gz";
|
2013-12-15 11:21:56 +00:00
|
|
|
sha256 = "04f5cvhrld15w58wkg6k2azywszsc5xp9cbmfx4jylwrak90byq3";
|
2012-08-25 09:13:59 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ liblockfile ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin $out/man/man1
|
|
|
|
install -s bin/* $out/bin
|
|
|
|
install man/*.1 $out/man/man1
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Programs for locking and unlocking files and mailboxes";
|
|
|
|
homepage = http://packages.debian.org/sid/lockfile-progs;
|
2014-06-19 04:19:00 +00:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2012-08-25 09:13:59 +00:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|