nixpkgs/pkgs/tools/misc/lockfile-progs/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
812 B
Nix
Raw Normal View History

2021-01-15 12:19:50 +03:00
{ lib, stdenv, fetchurl, liblockfile }:
2012-08-25 13:13:59 +04:00
stdenv.mkDerivation rec {
pname = "lockfile-progs";
version = "0.1.19";
2012-08-25 13:13:59 +04:00
src = fetchurl {
url = "mirror://debian/pool/main/l/${pname}/${pname}_${version}.tar.gz";
sha256 = "sha256-LFcEsByPR0+CkheA5Fkqknsr9qbXYWNUpsXXzVZkhX4=";
2012-08-25 13:13:59 +04:00
};
buildInputs = [ liblockfile ];
installPhase = ''
runHook preInstall
2012-08-25 13:13:59 +04:00
mkdir -p $out/bin $out/man/man1
install -s bin/* $out/bin
install man/*.1 $out/man/man1
runHook postInstall
2012-08-25 13:13:59 +04:00
'';
meta = {
broken = stdenv.isDarwin;
2012-08-25 13:13:59 +04:00
description = "Programs for locking and unlocking files and mailboxes";
homepage = "http://packages.debian.org/sid/lockfile-progs";
license = lib.licenses.gpl2Only;
2012-08-25 13:13:59 +04:00
2021-01-15 12:19:50 +03:00
maintainers = [ lib.maintainers.bluescreen303 ];
platforms = lib.platforms.all;
2012-08-25 13:13:59 +04:00
};
}