blob: 47995ad6608b56e91a6a7c8deba00b33b07d1b54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
pyparsing,
setuptools,
six,
}:
buildPythonPackage rec {
pname = "ucsmsdk";
version = "0.9.24";
pyproject = true;
src = fetchFromGitHub {
owner = "CiscoUcs";
repo = "ucsmsdk";
tag = "v${version}";
hash = "sha256-c2Tvm4xMyda9PoL7VWMCo7/RjSVcHBJQMh4GeTzgz5I=";
};
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 ];
};
}
|