5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
37 lines
780 B
Nix
37 lines
780 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, pyparsing
|
|
, six
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ucsmsdk";
|
|
version = "0.9.17";
|
|
format = "setuptools";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CiscoUcs";
|
|
repo = "ucsmsdk";
|
|
rev = "refs/tags/v${version}";
|
|
hash = "sha256-Ejn99MArKZjCHsl81WSHfpWV3Kz/mBrItIa0tPVProU=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|