at master 810 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pyparsing, 6 setuptools, 7 six, 8}: 9 10buildPythonPackage rec { 11 pname = "ucsmsdk"; 12 version = "0.9.23"; 13 pyproject = true; 14 15 src = fetchFromGitHub { 16 owner = "CiscoUcs"; 17 repo = "ucsmsdk"; 18 tag = "v${version}"; 19 hash = "sha256-UVOEJl+oSjf6gaVaa6QWBfEViUPmhgUiSm6rerkZ+EM="; 20 }; 21 22 build-system = [ setuptools ]; 23 24 dependencies = [ 25 pyparsing 26 six 27 ]; 28 29 # most tests are broken 30 doCheck = false; 31 32 pythonImportsCheck = [ "ucsmsdk" ]; 33 34 meta = with lib; { 35 description = "Python SDK for Cisco UCS"; 36 homepage = "https://github.com/CiscoUcs/ucsmsdk"; 37 changelog = "https://github.com/CiscoUcs/ucsmsdk/blob/${src.tag}/HISTORY.rst"; 38 license = licenses.asl20; 39 maintainers = with maintainers; [ SuperSandro2000 ]; 40 }; 41}