e34ce9d1c5
This release in a RC for gnupg-2.2. The main difference as far as nixpkgs is concerned is that the binary `gpg2` is now called `gpg` and `gpgv2` is called `gpgv`. This update fixed all explicit use of `gpg2` and `gpgv2` across nixpkgs, but there might be some packaged software that internally use `gpg2` not handeled by this commit. See http://lists.gnu.org/archive/html/info-gnu/2017-08/msg00001.html for full release information
46 lines
1.2 KiB
Nix
46 lines
1.2 KiB
Nix
{ fetchurl, stdenv, python, gnupg }:
|
|
|
|
let version = "2.0.11"; in
|
|
stdenv.mkDerivation {
|
|
name = "pius-${version}";
|
|
namePrefix = "";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/pgpius/pius/${version}/pius-${version}.tar.bz2";
|
|
sha256 = "0pdbyqz6k0bm182cz81ss7yckmpms5qhrrw0wcr4a1srzcjyzf5f";
|
|
};
|
|
|
|
buildInputs = [ python ];
|
|
|
|
patchPhase = ''
|
|
sed -i "pius" -e's|/usr/bin/gpg|${gnupg}/bin/gpg|g'
|
|
'';
|
|
|
|
dontBuild = true;
|
|
|
|
installPhase = ''
|
|
mkdir -p "$out/bin"
|
|
cp -v pius "$out/bin"
|
|
|
|
mkdir -p "$out/doc/pius-${version}"
|
|
cp -v README "$out/doc/pius-${version}"
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://www.phildev.net/pius/;
|
|
|
|
description = "PGP Individual UID Signer (PIUS), quickly and easily sign UIDs on a set of PGP keys";
|
|
|
|
longDescription =
|
|
'' This software will allow you to quickly and easily sign each UID on
|
|
a set of PGP keys. It is designed to take the pain out of the
|
|
sign-all-the-keys part of PGP Keysigning Party while adding security
|
|
to the process.
|
|
'';
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu ];
|
|
};
|
|
}
|