66604c92c1
GitOrigin-RevId: 32b8ed738096bafb4cdb7f70347a0f63f9f40151
24 lines
602 B
Nix
24 lines
602 B
Nix
{ lib, buildPythonPackage, fetchFromGitHub, requests }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyvmomi";
|
|
version = "7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "vmware";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "1qqljrlc9h7kddx3xxc6479gk75fvaxspfikzjn6zj5mznsvfwj5";
|
|
};
|
|
|
|
# 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;
|
|
};
|
|
}
|