2010-07-13 17:32:14 +01:00
|
|
|
{ fetchurl, stdenv, python, gnupg }:
|
|
|
|
|
2011-09-04 09:54:19 +01:00
|
|
|
let version = "2.0.9"; in
|
2010-07-13 17:32:14 +01:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "pius-${version}";
|
|
|
|
namePrefix = "";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/pgpius/pius/${version}/pius-${version}.tar.bz2";
|
2011-09-04 09:54:19 +01:00
|
|
|
sha256 = "1g1jly3wl4ks6h8ydkygyl2c4i7v3z91rg42005m6vm70y1d8b3d";
|
2010-07-13 17:32:14 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ python ];
|
|
|
|
|
|
|
|
patchPhase =
|
|
|
|
'' sed -i "pius" -e's|/usr/bin/gpg|${gnupg}/bin/gpg2|g'
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildPhase = "true";
|
|
|
|
|
|
|
|
installPhase =
|
2012-01-18 20:16:00 +00:00
|
|
|
'' mkdir -p "$out/bin"
|
2010-07-13 17:32:14 +01:00
|
|
|
cp -v pius "$out/bin"
|
|
|
|
|
2012-01-18 20:16:00 +00:00
|
|
|
mkdir -p "$out/doc/pius-${version}"
|
2010-07-13 17:32:14 +01:00
|
|
|
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.
|
|
|
|
'';
|
|
|
|
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-07-13 17:32:14 +01:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.gnu;
|
2013-08-16 22:44:33 +01:00
|
|
|
maintainers = [ ];
|
2010-07-13 17:32:14 +01:00
|
|
|
};
|
|
|
|
}
|