forked from mirrors/nixpkgs
lockfileProgs: 0.1.18 -> 0.1.19
* lockfileProgs: 0.1.18 -> 0.1.19 (#149897) * lockfile-progs: refactor Co-authored-by: Renaud <c0bw3b@users.noreply.github.com>
This commit is contained in:
parent
02a416f737
commit
e9a70d75f5
|
@ -1,27 +1,28 @@
|
|||
{ lib, stdenv, fetchurl, liblockfile }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
_name = "lockfile-progs";
|
||||
version = "0.1.18";
|
||||
name = "${_name}-${version}";
|
||||
pname = "lockfile-progs";
|
||||
version = "0.1.19";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://debian/pool/main/l/${_name}/${_name}_${version}.tar.gz";
|
||||
sha256 = "1rjwn3fh2hy8hmpr66y8yp7v5i3325v1mk0gr7pqhqbyp6j9aad4";
|
||||
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.gpl2;
|
||||
license = lib.licenses.gpl2Only;
|
||||
|
||||
maintainers = [ lib.maintainers.bluescreen303 ];
|
||||
platforms = lib.platforms.all;
|
||||
|
|
Loading…
Reference in a new issue