9 buildPythonPackage rec {
10 pname = "python-gnupg";
16 inherit pname version;
17 hash = "sha256-AdgBOTHJ+j9Fgku+pwVMA9bhHyWKcufghuFo28uRhUw=";
21 substituteInPlace gnupg.py \
22 --replace "gpgbinary='gpg'" "gpgbinary='${gnupg}/bin/gpg'"
23 substituteInPlace test_gnupg.py \
24 --replace "os.environ.get('GPGBINARY', 'gpg')" "os.environ.get('GPGBINARY', '${gnupg}/bin/gpg')"
40 pythonImportsCheck = [ "gnupg" ];
43 description = "API for the GNU Privacy Guard (GnuPG)";
44 homepage = "https://github.com/vsajip/python-gnupg";
45 changelog = "https://github.com/vsajip/python-gnupg/releases/tag/${version}";
46 license = licenses.bsd3;
47 maintainers = with maintainers; [ copumpkin ];