diff --git a/pkgs/tools/security/pynitrokey/default.nix b/pkgs/tools/security/pynitrokey/default.nix index 04b4b8e7b85f..fe51760f5629 100644 --- a/pkgs/tools/security/pynitrokey/default.nix +++ b/pkgs/tools/security/pynitrokey/default.nix @@ -1,4 +1,10 @@ -{ lib, python3Packages, fetchPypi, nrfutil, libnitrokey }: +{ lib +, python3Packages +, fetchPypi +, nrfutil +, libnitrokey +, nix-update-script +}: with python3Packages; @@ -45,7 +51,7 @@ buildPythonApplication rec { "typing_extensions" ]; - # libnitrokey is not propagated to users of pynitrokey + # 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 ]}" @@ -56,6 +62,8 @@ buildPythonApplication rec { pythonImportsCheck = [ "pynitrokey" ]; + passthru.updateScript = nix-update-script { }; + meta = with lib; { description = "Python client for Nitrokey devices"; homepage = "https://github.com/Nitrokey/pynitrokey";