Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pyvmomi / default.nix
blobb6a775327f429cfba5c9d9ae8981c42e7f53977f
1 { lib, buildPythonPackage, fetchFromGitHub, requests, six }:
3 buildPythonPackage rec {
4   pname = "pyvmomi";
5   version = "7.0.1";
7   src = fetchFromGitHub {
8     owner = "vmware";
9     repo = pname;
10     rev = "v${version}";
11     sha256 = "1i7zni4ygdikc22wfrbnzwqh6qy402s3di6sdlfcvky2y7fzx52x";
12   };
14   # requires old version of vcrpy
15   doCheck = false;
17   propagatedBuildInputs = [ requests six ];
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   };