bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
38 lines
787 B
Nix
38 lines
787 B
Nix
{
|
|
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 ];
|
|
};
|
|
}
|