depot/third_party/nixpkgs/pkgs/development/python-modules/ucsmsdk/default.nix
Default email 5c370c0b2a Project import generated by Copybara.
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
2024-05-15 17:35:15 +02:00

37 lines
780 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, pyparsing
, six
}:
buildPythonPackage rec {
pname = "ucsmsdk";
version = "0.9.17";
format = "setuptools";
src = fetchFromGitHub {
owner = "CiscoUcs";
repo = "ucsmsdk";
rev = "refs/tags/v${version}";
hash = "sha256-Ejn99MArKZjCHsl81WSHfpWV3Kz/mBrItIa0tPVProU=";
};
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";
changelog = "https://github.com/CiscoUcs/ucsmsdk/blob/v${version}/HISTORY.rst";
license = licenses.asl20;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}