Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.0 kB · 59 lines
Nix
at master
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, buildPythonPackage, pythonOlder, fetchPypi, poetry-core, cryptography, fido2, requests, tlv8, pyserial, protobuf, semver, crcmod, hidapi,}:
buildPythonPackage rec { pname = "nitrokey"; version = "0.4.1"; pyproject = true;
src = fetchPypi { inherit pname version; hash = "sha256-m351pDLMuZaddbUqJz5r/ljz/vVq+RBDGk4xskc3HCk="; };
pythonRelaxDeps = [ "protobuf" ];
build-system = [ poetry-core ];
dependencies = [ fido2 requests semver tlv8 crcmod cryptography hidapi protobuf pyserial ];
# no tests doCheck = false;
pythonImportsCheck = [ "nitrokey" ];
meta = with lib; { description = "Python SDK for Nitrokey devices"; homepage = "https://github.com/Nitrokey/nitrokey-sdk-py"; changelog = "https://github.com/Nitrokey/nitrokey-sdk-py/releases/tag/v${version}"; license = with licenses; [ asl20 mit ]; maintainers = with maintainers; [ panicgh ]; };}