nixpkgs/pkgs/development/python-modules/pyvmomi/default.nix

25 lines
613 B
Nix
Raw Normal View History

2021-04-16 14:14:11 +01:00
{ lib, buildPythonPackage, fetchFromGitHub, requests, six }:
buildPythonPackage rec {
pname = "pyvmomi";
2020-11-10 05:44:31 +00:00
version = "7.0.1";
src = fetchFromGitHub {
owner = "vmware";
repo = pname;
rev = "v${version}";
2020-11-10 05:44:31 +00:00
sha256 = "1i7zni4ygdikc22wfrbnzwqh6qy402s3di6sdlfcvky2y7fzx52x";
};
# requires old version of vcrpy
doCheck = false;
2021-04-16 14:14:11 +01:00
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;
};
}