diff --git a/pkgs/development/python-modules/ucsmsdk/default.nix b/pkgs/development/python-modules/ucsmsdk/default.nix new file mode 100644 index 000000000000..f9d1cf6c1d79 --- /dev/null +++ b/pkgs/development/python-modules/ucsmsdk/default.nix @@ -0,0 +1,36 @@ +{ lib +, buildPythonPackage +, fetchFromGitHub +, pyparsing +, six +}: + +buildPythonPackage rec { + pname = "ucsmsdk"; + version = "0.9.14"; + format = "setuptools"; + + src = fetchFromGitHub { + owner = "CiscoUcs"; + repo = "ucsmsdk"; + rev = "v${version}"; + hash = "sha256-lSkURvKRgW+qV1A8OT4WYsMGlxxIqaFnxQ3Rnlixdw0="; + }; + + propagatedBuildInputs = [ + pyparsing + six + ]; + + # most tests are broken + doCheck = false; + + pythonImportsCheck = [ "ucsmsdk" ]; + + meta = with lib; { + description = "Python SDK for Cisco UCS"; + homepage = "https://github.com/CiscoUcs/ucsmsdk"; + license = licenses.asl20; + maintainers = with maintainers; [ SuperSandro2000 ]; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b9051f34031d..8386c293f5f1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12601,6 +12601,8 @@ self: super: with self; { uc-micro-py = callPackage ../development/python-modules/uc-micro-py { }; + ucsmsdk = callPackage ../development/python-modules/ucsmsdk { }; + udatetime = callPackage ../development/python-modules/udatetime { }; ueberzug = callPackage ../development/python-modules/ueberzug {