blob: dfd5cd6c7d7cf1e778c6c414a20ad33f3a9e2d65 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{stdenv, fetchurl, gnupg, perl, automake111x, autoconf}:
stdenv.mkDerivation rec {
version = "2.1";
basename = "signing-party";
name = "${basename}-${version}";
src = fetchurl {
url = "mirror://debian/pool/main/s/${basename}/${basename}_${version}.orig.tar.gz";
sha256 = "0pcni3mf92503bqknwlsvv1f5gz23dmzwas2j8g2fk7afjd891ya";
};
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 = {
description = "A collection for all kinds of pgp related things, including signing scripts, party preparation scripts etc";
homepage = http://pgp-tools.alioth.debian.org;
platforms = gnupg.meta.platforms;
license = stdenv.lib.licenses.gpl2;
};
}
|