mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
python311Packages.nethsm: init at 1.0.0
This commit is contained in:
parent
c76b72caa4
commit
f28f26fdfa
51
pkgs/development/python-modules/nethsm/default.nix
Normal file
51
pkgs/development/python-modules/nethsm/default.nix
Normal file
@ -0,0 +1,51 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pythonRelaxDepsHook
|
||||
, flit-core
|
||||
, certifi
|
||||
, cryptography
|
||||
, python-dateutil
|
||||
, typing-extensions
|
||||
, urllib3
|
||||
}:
|
||||
|
||||
let
|
||||
pname = "nethsm";
|
||||
version = "1.0.0";
|
||||
in
|
||||
|
||||
buildPythonPackage {
|
||||
inherit pname version;
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-sENuSdA4pYt8v2w2RvDkcQLYCP9V0vZOdWOlkNBi3/o=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
certifi
|
||||
cryptography
|
||||
python-dateutil
|
||||
typing-extensions
|
||||
urllib3
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
flit-core
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
pythonRelaxDeps = true;
|
||||
|
||||
pythonImportsCheck = [ "nethsm" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Client-side Python SDK for NetHSM";
|
||||
homepage = "https://github.com/Nitrokey/nethsm-sdk-py";
|
||||
changelog = "https://github.com/Nitrokey/nethsm-sdk-py/releases/tag/v${version}";
|
||||
license = with licenses; [ asl20 ];
|
||||
maintainers = with maintainers; [ frogamic ];
|
||||
};
|
||||
}
|
@ -8088,6 +8088,8 @@ self: super: with self; {
|
||||
|
||||
netdisco = callPackage ../development/python-modules/netdisco { };
|
||||
|
||||
nethsm = callPackage ../development/python-modules/nethsm { };
|
||||
|
||||
netifaces = callPackage ../development/python-modules/netifaces { };
|
||||
|
||||
netmiko = callPackage ../development/python-modules/netmiko { };
|
||||
|
Loading…
Reference in New Issue
Block a user