pynentry: init at 0.1.7
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
pinentry-curses,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage {
|
||||
pname = "pynentry";
|
||||
version = "0.1.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Laharah";
|
||||
repo = "pynentry";
|
||||
rev = "54a484b36b8ac16c0ae51fe436844d5a056ec3c9";
|
||||
hash = "sha256-bbuAI0IB3cTIfaCCrq0g93geRLUsxaahHWuU3bBtHII";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pynentry.py \
|
||||
--replace-fail 'executable="pinentry"' 'executable="${lib.getExe pinentry-curses}"'
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "pynentry" ];
|
||||
|
||||
meta = {
|
||||
description = "Wrapper for pinentry for python";
|
||||
homepage = "https://github.com/Laharah/pynentry";
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ lilahummel ];
|
||||
};
|
||||
}
|
||||
@@ -14125,6 +14125,8 @@ self: super: with self; {
|
||||
|
||||
pynello = callPackage ../development/python-modules/pynello { };
|
||||
|
||||
pynentry = callPackage ../development/python-modules/pynentry { };
|
||||
|
||||
pynest2d = callPackage ../development/python-modules/pynest2d { };
|
||||
|
||||
pynetbox = callPackage ../development/python-modules/pynetbox { };
|
||||
|
||||
Reference in New Issue
Block a user