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