2018-08-03 19:06:39 +02:00
|
|
|
{ fetchFromGitHub, stdenv, pythonPackages, gnupg, perl }:
|
2010-07-13 18:32:14 +02:00
|
|
|
|
2019-03-11 11:59:32 +01:00
|
|
|
let version = "2.2.7"; in
|
2017-11-24 12:29:59 +01:00
|
|
|
pythonPackages.buildPythonApplication {
|
2010-07-13 18:32:14 +02:00
|
|
|
name = "pius-${version}";
|
|
|
|
namePrefix = "";
|
|
|
|
|
2017-11-24 12:12:51 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jaymzh";
|
|
|
|
repo = "pius";
|
|
|
|
rev = "v${version}";
|
2019-03-11 11:59:32 +01:00
|
|
|
sha256 = "1kjj44lf9di4ylvmc949dxncllzd8afp0yknr3152dmxkw1vl127";
|
2010-07-13 18:32:14 +02:00
|
|
|
};
|
|
|
|
|
2016-05-04 12:08:35 +02:00
|
|
|
patchPhase = ''
|
2017-11-24 12:29:59 +01:00
|
|
|
for file in libpius/constants.py pius-keyring-mgr; do
|
|
|
|
sed -i "$file" -E -e's|/usr/bin/gpg2?|${gnupg}/bin/gpg|g'
|
|
|
|
done
|
2016-05-04 12:08:35 +02:00
|
|
|
'';
|
2010-07-13 18:32:14 +02:00
|
|
|
|
2019-03-11 14:43:49 +01:00
|
|
|
nativeBuildInputs = [ perl ];
|
|
|
|
propagatedBuildInputs = with pythonPackages; [ six ];
|
2018-08-03 19:06:39 +02:00
|
|
|
|
2010-07-13 18:32:14 +02:00
|
|
|
meta = {
|
2017-08-22 20:50:04 +02:00
|
|
|
homepage = https://www.phildev.net/pius/;
|
2010-07-13 18:32:14 +02:00
|
|
|
|
|
|
|
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 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-07-13 18:32:14 +02:00
|
|
|
|
2018-05-01 00:47:47 +02:00
|
|
|
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
|
2017-11-24 12:30:17 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ fuuzetsu kierdavis ];
|
2010-07-13 18:32:14 +02:00
|
|
|
};
|
|
|
|
}
|