depot/third_party/nixpkgs/pkgs/development/python-modules/pyvmomi/default.nix
Default email be14b713bb Project import generated by Copybara.
GitOrigin-RevId: e5cc06a1e806070693add4f231060a62b962fc44
2021-04-17 02:35:05 +02:00

24 lines
613 B
Nix

{ lib, buildPythonPackage, fetchFromGitHub, requests, six }:
buildPythonPackage rec {
pname = "pyvmomi";
version = "7.0.1";
src = fetchFromGitHub {
owner = "vmware";
repo = pname;
rev = "v${version}";
sha256 = "1i7zni4ygdikc22wfrbnzwqh6qy402s3di6sdlfcvky2y7fzx52x";
};
# 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;
};
}