2019-09-04 16:42:47 +01:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyvmomi";
|
2020-05-09 23:13:22 +01:00
|
|
|
version = "7.0";
|
2019-09-04 16:42:47 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vmware";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-05-09 23:13:22 +01:00
|
|
|
sha256 = "1qqljrlc9h7kddx3xxc6479gk75fvaxspfikzjn6zj5mznsvfwj5";
|
2019-09-04 16:42:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# requires old version of vcrpy
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ requests ];
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|