mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
42 lines
808 B
Nix
42 lines
808 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
pyparsing,
|
|
setuptools,
|
|
six,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "ucsmsdk";
|
|
version = "0.9.26";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "CiscoUcs";
|
|
repo = "ucsmsdk";
|
|
tag = "v${version}";
|
|
hash = "sha256-PX9SoUhFp0XlEXaKKEh1TA7+gNCUj+t0jOR5hgosu9c=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
pyparsing
|
|
six
|
|
];
|
|
|
|
# most tests are broken
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "ucsmsdk" ];
|
|
|
|
meta = {
|
|
description = "Python SDK for Cisco UCS";
|
|
homepage = "https://github.com/CiscoUcs/ucsmsdk";
|
|
changelog = "https://github.com/CiscoUcs/ucsmsdk/blob/${src.tag}/HISTORY.rst";
|
|
license = lib.licenses.asl20;
|
|
maintainers = with lib.maintainers; [ SuperSandro2000 ];
|
|
};
|
|
}
|