diff --git a/pkgs/development/python-modules/proxmoxer/default.nix b/pkgs/development/python-modules/proxmoxer/default.nix index 229634d64d59..8f3ff8621fc8 100644 --- a/pkgs/development/python-modules/proxmoxer/default.nix +++ b/pkgs/development/python-modules/proxmoxer/default.nix @@ -8,23 +8,26 @@ requests, requests-toolbelt, responses, + setuptools, }: buildPythonPackage rec { pname = "proxmoxer"; - version = "2.0.1"; - format = "setuptools"; + version = "2.1.0"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchFromGitHub { - owner = pname; - repo = pname; + owner = "proxmoxer"; + repo = "proxmoxer"; rev = "refs/tags/${version}"; - hash = "sha256-kwD6yJhVTaVAAUVA6k4r6HZy4w+MPDF7DfJBS8wGE/c="; + hash = "sha256-bwNv9eBuatMAWZ/ZOoF4VUZFIYAxJDEEwGQaAwPWcHY="; }; - propagatedBuildInputs = [ + build-system = [ setuptools ]; + + dependencies = [ paramiko requests ]; @@ -40,6 +43,11 @@ buildPythonPackage rec { "tests/test_openssh.py" ]; + disabledTests = [ + # Tests require openssh_wrapper which is outdated and not available + "test_repr_openssh" + ]; + pythonImportsCheck = [ "proxmoxer" ]; meta = with lib; {