1 { python3Packages, lib, nrfutil }:
5 buildPythonApplication rec {
11 inherit pname version;
12 sha256 = "sha256-aWQhMvATcDtyBtj38mGnypkKIqKQgneBzWDh5o/5Wkc=";
15 propagatedBuildInputs = [
34 # spsdk is patched to allow for newer cryptography
36 substituteInPlace pyproject.toml \
37 --replace "cryptography >=3.4.4,<37" "cryptography"
43 pythonImportsCheck = [ "pynitrokey" ];
46 description = "Python client for Nitrokey devices";
47 homepage = "https://github.com/Nitrokey/pynitrokey";
48 license = with licenses; [ asl20 mit ];
49 maintainers = with maintainers; [ frogamic ];
50 mainProgram = "nitropy";