pynitrokey: convert to Python package

Make pynitrokey a Python package, so that it can be used from different
Python versions.
This commit is contained in:
Nicolas Benes 2023-12-05 16:50:35 +01:00
parent 566008762b
commit 42d1ad0b9f
4 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
{ lib
, buildPythonApplication
, buildPythonPackage
, fetchPypi
, pythonRelaxDepsHook
, installShellFiles
@ -34,7 +34,7 @@ let
mainProgram = "nitropy";
in
buildPythonApplication {
buildPythonPackage {
inherit pname version;
pyproject = true;

View File

@ -1,7 +1,6 @@
{ lib
, python3
, fetchFromGitHub
, pynitrokey
, wrapQtAppsHook
}:

View File

@ -41698,7 +41698,7 @@ with pkgs;
xrq = callPackage ../applications/misc/xrq { };
pynitrokey = python3Packages.callPackage ../tools/security/pynitrokey { };
pynitrokey = with python3Packages; toPythonApplication pynitrokey;
nitrokey-app = libsForQt5.callPackage ../tools/security/nitrokey-app { };

View File

@ -9312,6 +9312,8 @@ self: super: with self; {
pyngrok = callPackage ../development/python-modules/pyngrok { };
pynitrokey = callPackage ../development/python-modules/pynitrokey { };
pynndescent = callPackage ../development/python-modules/pynndescent { };
pynobo = callPackage ../development/python-modules/pynobo { };