Martin Weinelt 377c5a0f88
python3Packages.nitrokey: 0.2.4 -> 0.3.1
https://github.com/Nitrokey/nitrokey-sdk-py/releases/tag/v0.3.1

This commit was automatically generated using update-python-libraries.
2025-04-03 23:12:40 +02:00

60 lines
1001 B
Nix

{
lib,
buildPythonPackage,
pythonOlder,
fetchPypi,
poetry-core,
cryptography,
fido2,
requests,
tlv8,
pyserial,
protobuf5,
semver,
crcmod,
hidapi,
}:
buildPythonPackage rec {
pname = "nitrokey";
version = "0.3.1";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-Lf20du+DDwMrHrC+wCXxFNG8ThBnbonx4wq7DatH4X4=";
};
disabled = pythonOlder "3.9";
build-system = [ poetry-core ];
dependencies = [
fido2
requests
semver
tlv8
crcmod
cryptography
hidapi
protobuf5
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 ];
};
}