2020-04-24 23:36:52 +00:00
|
|
|
{ lib, buildPythonPackage, fetchFromGitHub, requests }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pyvmomi";
|
2020-11-12 09:05:59 +00:00
|
|
|
version = "7.0.1";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "vmware";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-11-12 09:05:59 +00:00
|
|
|
sha256 = "1i7zni4ygdikc22wfrbnzwqh6qy402s3di6sdlfcvky2y7fzx52x";
|
2020-04-24 23:36:52 +00: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;
|
|
|
|
};
|
|
|
|
}
|