nixpkgs/pkgs/tools/security/signing-party/default.nix

38 lines
1.2 KiB
Nix
Raw Normal View History

2015-06-03 15:08:45 +00:00
{stdenv, fetchurl, gnupg, perl, automake111x, autoconf}:
stdenv.mkDerivation rec {
2015-12-14 12:05:25 +00:00
version = "2.1";
2015-06-03 15:08:45 +00:00
basename = "signing-party";
name = "${basename}-${version}";
src = fetchurl {
url = "mirror://debian/pool/main/s/${basename}/${basename}_${version}.orig.tar.gz";
2015-12-14 12:05:25 +00:00
sha256 = "0pcni3mf92503bqknwlsvv1f5gz23dmzwas2j8g2fk7afjd891ya";
2015-06-03 15:08:45 +00:00
};
sourceRoot = ".";
preBuild = ''
substituteInPlace sig2dot/Makefile --replace "\$(DESTDIR)/usr" "$out"
substituteInPlace gpgsigs/Makefile --replace "\$(DESTDIR)/usr" "$out"
substituteInPlace keylookup/Makefile --replace "\$(DESTDIR)/usr" "$out"
substituteInPlace springgraph/Makefile --replace "\$(DESTDIR)/usr" "$out"
substituteInPlace keyanalyze/Makefile --replace "\$(DESTDIR)/usr" "$out"
'';
# - perl is required for its pod2man (used in caff)
buildInputs = [ automake111x autoconf perl gnupg ];
patches = [ ./gpgwrap_makefile.patch ];
installFlags = [ "DESTDIR=\${out}" ];
doCheck = false; # no check rule
meta = {
2015-06-29 14:20:58 +00:00
description = "A collection for all kinds of pgp related things, including signing scripts, party preparation scripts etc";
2015-06-03 15:08:45 +00:00
homepage = http://pgp-tools.alioth.debian.org;
platforms = gnupg.meta.platforms;
license = stdenv.lib.licenses.gpl2;
2015-06-03 15:08:45 +00:00
};
}