Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / proxmoxer / default.nix
blob98063a560472b158d194cb4b2ea30cefc08236d6
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , paramiko
5 , pytestCheckHook
6 , pythonOlder
7 , requests
8 , requests-toolbelt
9 , responses
12 buildPythonPackage rec {
13   pname = "proxmoxer";
14   version = "2.0.1";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = pname;
21     repo = pname;
22     rev = "refs/tags/${version}";
23     hash = "sha256-kwD6yJhVTaVAAUVA6k4r6HZy4w+MPDF7DfJBS8wGE/c=";
24   };
26   propagatedBuildInputs = [
27     paramiko
28     requests
29   ];
31   nativeCheckInputs = [
32     pytestCheckHook
33     requests-toolbelt
34     responses
35   ];
37   disabledTestPaths = [
38     # Tests require openssh_wrapper which is outdated and not available
39     "tests/test_openssh.py"
40   ];
42   pythonImportsCheck = [
43     "proxmoxer"
44   ];
46   meta = with lib; {
47     description = "Python wrapper for Proxmox API v2";
48     homepage = "https://github.com/proxmoxer/proxmoxer";
49     changelog = "https://github.com/proxmoxer/proxmoxer/releases/tag/${version}";
50     license = with licenses; [ bsd3 ];
51     maintainers = with maintainers; [ fab ];
52   };