1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 pyparsing, 6 six, 7}: 8 9buildPythonPackage rec { 10 pname = "ucsmsdk"; 11 version = "0.9.17"; 12 format = "setuptools"; 13 14 src = fetchFromGitHub { 15 owner = "CiscoUcs"; 16 repo = "ucsmsdk"; 17 rev = "refs/tags/v${version}"; 18 hash = "sha256-Ejn99MArKZjCHsl81WSHfpWV3Kz/mBrItIa0tPVProU="; 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}