2021-04-17 00:35:05 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, requests, six }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyvmomi";
|
2021-10-17 02:12:59 +00:00
|
|
|
version = "7.0.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vmware";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-10-17 02:12:59 +00:00
|
|
|
sha256 = "07jwlbi3k5kvpmgygvpkhsnbdp9m2ndwqxk9k6kyzfszwcbdx4bk";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# requires old version of vcrpy
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-04-17 00:35:05 +00:00
|
|
|
propagatedBuildInputs = [ requests six ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
license = licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|