python3Packages.proxmoxer: init at 1.1.1

This commit is contained in:
Fabian Affolter 2021-02-13 14:46:28 +01:00
parent 5852a21819
commit ef25c7178a
2 changed files with 47 additions and 0 deletions

@ -0,0 +1,45 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, nose
, paramiko
, pytestCheckHook
, pythonOlder
, requests
}:
buildPythonPackage rec {
pname = "proxmoxer";
version = "1.1.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = version;
sha256 = "09fz8zbxjaly9zqksvq6cqp66plbsyjsmndy4g25ryys45siz1ny";
};
propagatedBuildInputs = [
paramiko
requests
];
checkInputs = [
mock
nose
pytestCheckHook
];
# Tests require openssh_wrapper which is outdated and not available
pytestFlagsArray = [ "tests/paramiko_tests.py" ];
pythonImportsCheck = [ "proxmoxer" ];
meta = with lib; {
description = "Python wrapper for Proxmox API v2";
homepage = "https://github.com/proxmoxer/proxmoxer";
license = with licenses; [ bsd3 ];
maintainers = with maintainers; [ fab ];
};
}

@ -5117,6 +5117,8 @@ in {
prox-tv = callPackage ../development/python-modules/prox-tv { };
proxmoxer = callPackage ../development/python-modules/proxmoxer { };
psautohint = callPackage ../development/python-modules/psautohint { };
psd-tools = callPackage ../development/python-modules/psd-tools { };