depot/third_party/nixpkgs/pkgs/development/python-modules/pyvmomi/default.nix
Default email 77976348d2 Project import generated by Copybara.
GitOrigin-RevId: 9aeeb7574fb784eaf6395f4400705b5f619e6cc3
2021-10-17 05:12:59 +03:00

24 lines
613 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, requests, six }:
buildPythonPackage rec {
pname = "pyvmomi";
version = "7.0.3";
src = fetchFromGitHub {
owner = "vmware";
repo = pname;
rev = "v${version}";
sha256 = "07jwlbi3k5kvpmgygvpkhsnbdp9m2ndwqxk9k6kyzfszwcbdx4bk";
};
# requires old version of vcrpy
doCheck = false;
propagatedBuildInputs = [ requests six ];
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;
};
}