Loading pkgs/development/python-modules/nethsm/default.nix +34 −17 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, flit-core, certifi, cryptography, docker, fetchFromGitHub, flit-core, podman, pycryptodome, pytestCheckHook, python-dateutil, typing-extensions, urllib3, }: let buildPythonPackage rec { pname = "nethsm"; version = "1.2.1"; in buildPythonPackage { inherit pname version; version = "1.3.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-EPxGJFCGGl3p3yLlM7NH7xtEVS2woRigKJhL57A0gAE="; src = fetchFromGitHub { owner = "Nitrokey"; repo = "nethsm-sdk-py"; tag = "v${version}"; hash = "sha256-vH5YjS3VO5krCMVQFcEgDhJeCUzo9EzFnBxq+zPuZ68="; }; propagatedBuildInputs = [ pythonRelaxDeps = true; build-system = [ flit-core ]; dependencies = [ certifi cryptography python-dateutil Loading @@ -32,19 +38,30 @@ buildPythonPackage { urllib3 ]; nativeBuildInputs = [ flit-core nativeCheckInputs = [ docker podman pycryptodome pytestCheckHook ]; pythonRelaxDeps = true; pythonImportsCheck = [ "nethsm" ]; disabledTestPaths = [ # Tests require a running Docker instance "tests/test_nethsm_config.py" "tests/test_nethsm_keys.py" "tests/test_nethsm_namespaces.py" "tests/test_nethsm_other.py" "tests/test_nethsm_system.py" "tests/test_nethsm_users.py" ]; 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 ]; license = licenses.asl20; maintainers = with maintainers; [ frogamic ]; }; } Loading
pkgs/development/python-modules/nethsm/default.nix +34 −17 Original line number Diff line number Diff line { lib, buildPythonPackage, fetchPypi, flit-core, certifi, cryptography, docker, fetchFromGitHub, flit-core, podman, pycryptodome, pytestCheckHook, python-dateutil, typing-extensions, urllib3, }: let buildPythonPackage rec { pname = "nethsm"; version = "1.2.1"; in buildPythonPackage { inherit pname version; version = "1.3.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-EPxGJFCGGl3p3yLlM7NH7xtEVS2woRigKJhL57A0gAE="; src = fetchFromGitHub { owner = "Nitrokey"; repo = "nethsm-sdk-py"; tag = "v${version}"; hash = "sha256-vH5YjS3VO5krCMVQFcEgDhJeCUzo9EzFnBxq+zPuZ68="; }; propagatedBuildInputs = [ pythonRelaxDeps = true; build-system = [ flit-core ]; dependencies = [ certifi cryptography python-dateutil Loading @@ -32,19 +38,30 @@ buildPythonPackage { urllib3 ]; nativeBuildInputs = [ flit-core nativeCheckInputs = [ docker podman pycryptodome pytestCheckHook ]; pythonRelaxDeps = true; pythonImportsCheck = [ "nethsm" ]; disabledTestPaths = [ # Tests require a running Docker instance "tests/test_nethsm_config.py" "tests/test_nethsm_keys.py" "tests/test_nethsm_namespaces.py" "tests/test_nethsm_other.py" "tests/test_nethsm_system.py" "tests/test_nethsm_users.py" ]; 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 ]; license = licenses.asl20; maintainers = with maintainers; [ frogamic ]; }; }