Loading pkgs/development/python-modules/upcloud-api/default.nix +9 −3 Original line number Diff line number Diff line Loading @@ -4,30 +4,36 @@ fetchFromGitHub, setuptools, requests, keyring, pytestCheckHook, responses, }: buildPythonPackage rec { pname = "upcloud-api"; version = "2.7.0"; version = "2.9.0"; pyproject = true; src = fetchFromGitHub { owner = "UpCloudLtd"; repo = "upcloud-python-api"; tag = "v${version}"; hash = "sha256-YTccjuoagjS/Gllw8VtJ4NFoVqN1YeqXdgHI7BtP98w="; hash = "sha256-OnHKKSlj6JbqXL1YDkmR7d6ae8eVdXOPx6Los5qPDJE="; }; build-system = [ setuptools ]; dependencies = [ requests ]; optional-dependencies = { keyring = [ keyring ]; }; nativeCheckInputs = [ pytestCheckHook responses ]; ] ++ lib.flatten (builtins.attrValues optional-dependencies); pythonImportsCheck = [ "upcloud_api" ]; Loading Loading
pkgs/development/python-modules/upcloud-api/default.nix +9 −3 Original line number Diff line number Diff line Loading @@ -4,30 +4,36 @@ fetchFromGitHub, setuptools, requests, keyring, pytestCheckHook, responses, }: buildPythonPackage rec { pname = "upcloud-api"; version = "2.7.0"; version = "2.9.0"; pyproject = true; src = fetchFromGitHub { owner = "UpCloudLtd"; repo = "upcloud-python-api"; tag = "v${version}"; hash = "sha256-YTccjuoagjS/Gllw8VtJ4NFoVqN1YeqXdgHI7BtP98w="; hash = "sha256-OnHKKSlj6JbqXL1YDkmR7d6ae8eVdXOPx6Los5qPDJE="; }; build-system = [ setuptools ]; dependencies = [ requests ]; optional-dependencies = { keyring = [ keyring ]; }; nativeCheckInputs = [ pytestCheckHook responses ]; ] ++ lib.flatten (builtins.attrValues optional-dependencies); pythonImportsCheck = [ "upcloud_api" ]; Loading