python312Packages.dash-renderer: remove (#369714)
[NixPkgs.git] / pkgs / development / python-modules / proxmoxer / default.nix
blob957d3ce1aab3338c379347657c93e021fdc18bc5
2   lib,
3   buildPythonPackage,
4   fetchFromGitHub,
5   paramiko,
6   pytestCheckHook,
7   pythonOlder,
8   requests,
9   requests-toolbelt,
10   responses,
11   setuptools,
14 buildPythonPackage rec {
15   pname = "proxmoxer";
16   version = "2.2.0";
17   pyproject = true;
19   disabled = pythonOlder "3.7";
21   src = fetchFromGitHub {
22     owner = "proxmoxer";
23     repo = "proxmoxer";
24     tag = version;
25     hash = "sha256-56PccWOZiYLPSaJrFfOqP9kTuHqqhgiF1DpnNgFSabI=";
26   };
28   build-system = [ setuptools ];
30   dependencies = [
31     paramiko
32     requests
33   ];
35   nativeCheckInputs = [
36     pytestCheckHook
37     requests-toolbelt
38     responses
39   ];
41   disabledTestPaths = [
42     # Tests require openssh_wrapper which is outdated and not available
43     "tests/test_openssh.py"
44   ];
46   disabledTests = [
47     # Tests require openssh_wrapper which is outdated and not available
48     "test_repr_openssh"
49   ];
51   pythonImportsCheck = [ "proxmoxer" ];
53   meta = with lib; {
54     description = "Python wrapper for Proxmox API v2";
55     homepage = "https://github.com/proxmoxer/proxmoxer";
56     changelog = "https://github.com/proxmoxer/proxmoxer/releases/tag/${version}";
57     license = with licenses; [ bsd3 ];
58     maintainers = with maintainers; [ fab ];
59   };