Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 602 B view raw
1{ lib, buildPythonPackage, fetchFromGitHub, requests }: 2 3buildPythonPackage rec { 4 pname = "pyvmomi"; 5 version = "7.0"; 6 7 src = fetchFromGitHub { 8 owner = "vmware"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "1qqljrlc9h7kddx3xxc6479gk75fvaxspfikzjn6zj5mznsvfwj5"; 12 }; 13 14 # requires old version of vcrpy 15 doCheck = false; 16 17 propagatedBuildInputs = [ requests ]; 18 19 meta = with lib; { 20 description = "Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter"; 21 homepage = "https://github.com/vmware/pyvmomi"; 22 license = licenses.asl20; 23 }; 24}