Loading pkgs/development/python-modules/pynentry/default.nix 0 → 100644 +36 −0 Original line number Diff line number Diff line { 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 ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -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 { }; Loading Loading
pkgs/development/python-modules/pynentry/default.nix 0 → 100644 +36 −0 Original line number Diff line number Diff line { 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 ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -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 { }; Loading