2019-07-16 13:51:26 +01:00
|
|
|
{ fetchFromGitHub, stdenv, python3Packages, gnupg, perl }:
|
2010-07-13 17:32:14 +01:00
|
|
|
|
2019-07-16 07:47:59 +01:00
|
|
|
let version = "3.0.0"; in
|
2019-07-16 13:51:26 +01:00
|
|
|
python3Packages.buildPythonApplication {
|
2019-07-16 13:54:58 +01:00
|
|
|
pname = "pius";
|
2010-07-13 17:32:14 +01:00
|
|
|
namePrefix = "";
|
2019-07-16 13:54:58 +01:00
|
|
|
inherit version;
|
2010-07-13 17:32:14 +01:00
|
|
|
|
2017-11-24 11:12:51 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "jaymzh";
|
|
|
|
repo = "pius";
|
|
|
|
rev = "v${version}";
|
2019-07-16 07:47:59 +01:00
|
|
|
sha256 = "0l87dx7n6iwy8alxnhvval8h1kl4da6a59hsilbi65c6bpj4dh3y";
|
2010-07-13 17:32:14 +01:00
|
|
|
};
|
|
|
|
|
2016-05-04 11:08:35 +01:00
|
|
|
patchPhase = ''
|
2017-11-24 11:29:59 +00: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 11:08:35 +01:00
|
|
|
'';
|
2010-07-13 17:32:14 +01:00
|
|
|
|
2019-07-16 14:28:49 +01:00
|
|
|
buildInputs = [ perl ];
|
2018-08-03 18:06:39 +01:00
|
|
|
|
2010-07-13 17:32:14 +01:00
|
|
|
meta = {
|
2017-08-22 19:50:04 +01:00
|
|
|
homepage = https://www.phildev.net/pius/;
|
2010-07-13 17:32:14 +01: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 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2010-07-13 17:32:14 +01:00
|
|
|
|
2018-04-30 23:47:47 +01:00
|
|
|
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux;
|
2019-12-05 07:29:48 +00:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ kierdavis ];
|
2010-07-13 17:32:14 +01:00
|
|
|
};
|
|
|
|
}
|