1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pyparsing
5, six
6}:
7
8buildPythonPackage rec {
9 pname = "ucsmsdk";
10 version = "0.9.16";
11 format = "setuptools";
12
13 src = fetchFromGitHub {
14 owner = "CiscoUcs";
15 repo = "ucsmsdk";
16 rev = "refs/tags/v${version}";
17 hash = "sha256-9ksHA8uvBv370/6Umt5iz/4F8VsDDI9X8kVc5Lv0RVk=";
18 };
19
20 propagatedBuildInputs = [
21 pyparsing
22 six
23 ];
24
25 # most tests are broken
26 doCheck = false;
27
28 pythonImportsCheck = [ "ucsmsdk" ];
29
30 meta = with lib; {
31 description = "Python SDK for Cisco UCS";
32 homepage = "https://github.com/CiscoUcs/ucsmsdk";
33 changelog = "https://github.com/CiscoUcs/ucsmsdk/blob/v${version}/HISTORY.rst";
34 license = licenses.asl20;
35 maintainers = with maintainers; [ SuperSandro2000 ];
36 };
37}