2021-01-15 10:19:50 +01:00
|
|
|
{ lib, stdenv, fetchurl, liblockfile }:
|
2012-08-25 11:13:59 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
_name = "lockfile-progs";
|
2018-09-12 22:58:49 +02:00
|
|
|
version = "0.1.18";
|
2012-08-25 11:13:59 +02:00
|
|
|
name = "${_name}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://debian/pool/main/l/${_name}/${_name}_${version}.tar.gz";
|
2018-09-12 22:58:49 +02:00
|
|
|
sha256 = "1rjwn3fh2hy8hmpr66y8yp7v5i3325v1mk0gr7pqhqbyp6j9aad4";
|
2012-08-25 11:13:59 +02: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";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://packages.debian.org/sid/lockfile-progs";
|
2021-01-15 10:19:50 +01:00
|
|
|
license = lib.licenses.gpl2;
|
2012-08-25 11:13:59 +02:00
|
|
|
|
2021-01-15 10:19:50 +01:00
|
|
|
maintainers = [ lib.maintainers.bluescreen303 ];
|
|
|
|
platforms = lib.platforms.all;
|
2012-08-25 11:13:59 +02:00
|
|
|
};
|
|
|
|
}
|