Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pyparsing 5, six 6}: 7 8buildPythonPackage rec { 9 pname = "ucsmsdk"; 10 version = "0.9.14"; 11 format = "setuptools"; 12 13 src = fetchFromGitHub { 14 owner = "CiscoUcs"; 15 repo = "ucsmsdk"; 16 rev = "v${version}"; 17 hash = "sha256-lSkURvKRgW+qV1A8OT4WYsMGlxxIqaFnxQ3Rnlixdw0="; 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 license = licenses.asl20; 34 maintainers = with maintainers; [ SuperSandro2000 ]; 35 }; 36}