My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/tools/misc/lockfile-progs/default.nix

30 lines
782 B

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