pynitrokey: support more devices via libnitrokey
libnitrokey is needed to support e.g. Nitrokey Pro devices.
This commit is contained in:
committed by
Dominic Shelton
parent
e6495b4112
commit
6f037e51aa
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user