pynitrokey: switch to pypaBuildHook

This commit is contained in:
Peder Bergebakken Sundt
2023-09-22 21:11:24 +02:00
parent 3a2a8ad856
commit f8fd7deaab
+5 -1
View File
@@ -11,7 +11,7 @@ with python3Packages;
buildPythonApplication rec {
pname = "pynitrokey";
version = "0.4.39";
format = "flit";
format = "pyproject";
src = fetchPypi {
inherit pname version;
@@ -43,9 +43,13 @@ buildPythonApplication rec {
];
nativeBuildInputs = [
flit-core
pythonRelaxDepsHook
];
# FIXME: does pythonRelaxDepsHook not work for pypaBuildHook + flit-core?
pypaBuildFlags = [ "--skip-dependency-check" ];
pythonRelaxDeps = [
"click"
"cryptography"