depot/third_party/nixpkgs/pkgs/development/python-modules/ucsmsdk/default.nix

39 lines
787 B
Nix
Raw Normal View History

{
lib,
buildPythonPackage,
fetchFromGitHub,
pyparsing,
six,
}:
buildPythonPackage rec {
pname = "ucsmsdk";
version = "0.9.18";
format = "setuptools";
src = fetchFromGitHub {
owner = "CiscoUcs";
repo = "ucsmsdk";
rev = "refs/tags/v${version}";
hash = "sha256-9LCrjelxx8HxIEiSdsvtvm31XiE11Gnp0suapmo2L5Q=";
};
propagatedBuildInputs = [
pyparsing
six
];
# most tests are broken
doCheck = false;
pythonImportsCheck = [ "ucsmsdk" ];
meta = with lib; {
description = "Python SDK for Cisco UCS";
homepage = "https://github.com/CiscoUcs/ucsmsdk";
changelog = "https://github.com/CiscoUcs/ucsmsdk/blob/v${version}/HISTORY.rst";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}