From 44eb0b4dbe1f0356fd2dfcdef77521c56973f6d0 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 15 May 2022 14:49:34 +0200 Subject: [PATCH] python310Packages.proxmoxer: add format --- .../python-modules/proxmoxer/default.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/proxmoxer/default.nix b/pkgs/development/python-modules/proxmoxer/default.nix index bba80bfc2d32..9684fe84ba0f 100644 --- a/pkgs/development/python-modules/proxmoxer/default.nix +++ b/pkgs/development/python-modules/proxmoxer/default.nix @@ -12,13 +12,15 @@ buildPythonPackage rec { pname = "proxmoxer"; version = "1.3.1"; - disabled = pythonOlder "3.6"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = pname; repo = pname; rev = "refs/tags/${version}"; - sha256 = "sha256-FY0JLDBoKmh85VoKh3UuPPRbMAIjs3l/fZM4owniH1c="; + hash = "sha256-FY0JLDBoKmh85VoKh3UuPPRbMAIjs3l/fZM4owniH1c="; }; propagatedBuildInputs = [ @@ -32,9 +34,14 @@ buildPythonPackage rec { pytestCheckHook ]; - # Tests require openssh_wrapper which is outdated and not available - pytestFlagsArray = [ "tests/paramiko_tests.py" ]; - pythonImportsCheck = [ "proxmoxer" ]; + pytestFlagsArray = [ + # Tests require openssh_wrapper which is outdated and not available + "tests/paramiko_tests.py" + ]; + + pythonImportsCheck = [ + "proxmoxer" + ]; meta = with lib; { description = "Python wrapper for Proxmox API v2";