depot/third_party/nixpkgs/pkgs/development/python-modules/ucsmsdk/default.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

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 ];
};
}