Commit 6f037e51 authored by Nicolas Benes's avatar Nicolas Benes Committed by Dominic Shelton
Browse files

pynitrokey: support more devices via libnitrokey

libnitrokey is needed to support e.g. Nitrokey Pro devices.
parent e6495b41
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
{ 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;