···
···
-
hash = "sha256-nZBgKJfRIte/KyHqdBLe6spudJW7livyA9OvdZ4/q4o=";
nativeBuildInputs = [ installShellFiles ];
-
build-system = [ flit-core ];
-
# pythonRelaxDepsHook runs in postBuild so cannot be used
-
pypaBuildFlags = [ "--skip-dependency-check" ];
# libnitrokey is not propagated to users of the pynitrokey Python package.
# It is only usable from the wrapped bin/nitropy
makeWrapperArgs = [ "--set LIBNK_PATH ${lib.makeLibraryPath [ libnitrokey ]}" ];
pythonImportsCheck = [ "pynitrokey" ];
···
···
+
hash = "sha256-Kr6VtBADLvXUva7csbsHujGzBfRG1atJLF7qbIWmToM=";
nativeBuildInputs = [ installShellFiles ];
+
build-system = [ poetry-core ];
+
optional-dependencies = {
# libnitrokey is not propagated to users of the pynitrokey Python package.
# It is only usable from the wrapped bin/nitropy
makeWrapperArgs = [ "--set LIBNK_PATH ${lib.makeLibraryPath [ libnitrokey ]}" ];
pythonImportsCheck = [ "pynitrokey" ];