blob: f395f88bf7dc5aa92fd314a9dc95b574793c3ee3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
{ lib
, buildPythonPackage
, fetchFromGitHub
, lxml
, requests
, six
, pyopenssl
, pythonOlder
}:
buildPythonPackage rec {
pname = "pyvmomi";
version = "8.0.2.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "vmware";
repo = pname;
rev = "refs/tags/v${version}";
hash = "sha256-Y7Zor70P4lhkAslckg/prfCmnszVMFPntWdJpfWnvIM=";
};
propagatedBuildInputs = [
requests
six
];
passthru.optional-dependencies = {
sso = [
lxml
pyopenssl
];
};
# Requires old version of vcrpy
doCheck = false;
pythonImportsCheck = [
"pyVim"
"pyVmomi"
];
meta = with lib; {
description = "Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter";
homepage = "https://github.com/vmware/pyvmomi";
changelog = "https://github.com/vmware/pyvmomi/releases/tag/v${version}";
license = licenses.asl20;
maintainers = with maintainers; [ ];
};
}
|