Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at litex 886 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, requests 5, six 6, pythonOlder 7}: 8 9buildPythonPackage rec { 10 pname = "pyvmomi"; 11 version = "8.0.1.0.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchFromGitHub { 17 owner = "vmware"; 18 repo = pname; 19 rev = "refs/tags/v${version}"; 20 hash = "sha256-MT0jT4wT8+4OEsIDWZbiqWK+3YASfVtOQT2KkadfwbM="; 21 }; 22 23 propagatedBuildInputs = [ 24 requests 25 six 26 ]; 27 28 # Requires old version of vcrpy 29 doCheck = false; 30 31 pythonImportsCheck = [ 32 "pyVim" 33 "pyVmomi" 34 ]; 35 36 meta = with lib; { 37 description = "Python SDK for the VMware vSphere API that allows you to manage ESX, ESXi, and vCenter"; 38 homepage = "https://github.com/vmware/pyvmomi"; 39 changelog = "https://github.com/vmware/pyvmomi/releases/tag/v${version}"; 40 license = licenses.asl20; 41 maintainers = with maintainers; [ ]; 42 }; 43}