pynitrokey: support more devices via libnitrokey

libnitrokey is needed to support e.g. Nitrokey Pro devices.
This commit is contained in:
Nicolas Benes
2023-03-30 09:23:56 +11:00
committed by Dominic Shelton
parent e6495b4112
commit 6f037e51aa
+7 -1
View File
@@ -1,4 +1,4 @@
{ python3Packages, lib, nrfutil }:
{ python3Packages, lib, nrfutil, libnitrokey }:
with python3Packages;
@@ -44,6 +44,12 @@ buildPythonApplication rec {
"typing_extensions"
];
# libnitrokey is not propagated to users of pynitrokey
# It is only usable from the wrapped bin/nitropy
makeWrapperArgs = [
"--set LIBNK_PATH ${lib.makeLibraryPath [ libnitrokey ]}"
];
# no tests
doCheck = false;