python310Packages.proxmoxer: add format
This commit is contained in:
parent
8829d625d4
commit
44eb0b4dbe
1 changed files with 12 additions and 5 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue