Files
nixpkgs/pkgs/development/python-modules/ucsmsdk/default.nix
2025-09-27 07:32:01 +00:00

42 lines
810 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
pyparsing,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "ucsmsdk";
version = "0.9.23";
pyproject = true;
src = fetchFromGitHub {
owner = "CiscoUcs";
repo = "ucsmsdk";
tag = "v${version}";
hash = "sha256-UVOEJl+oSjf6gaVaa6QWBfEViUPmhgUiSm6rerkZ+EM=";
};
build-system = [ setuptools ];
dependencies = [
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/${src.tag}/HISTORY.rst";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}