blob: d9eca0f5cbb87bfd93b973c9284f15c5c817acde (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
}:
buildPythonPackage rec {
pname = "python-hpilo";
version = "4.4.3";
pyproject = true;
src = fetchFromGitHub {
owner = "seveas";
repo = "python-hpilo";
tag = version;
hash = "sha256-O0WGJRxzT9R9abFOsXHSiv0aFOtBWQqTrfbw5rnuZbY=";
};
build-system = [ setuptools ];
# Most tests requires an actual iLO to run
doCheck = false;
pythonImportsCheck = [ "hpilo" ];
meta = {
description = "Python module to access the HP iLO XML interface";
homepage = "https://seveas.github.io/python-hpilo/";
changelog = "https://github.com/seveas/python-hpilo/blob/${version}/CHANGES";
license = with lib.licenses; [
asl20
gpl3Plus
];
maintainers = with lib.maintainers; [ fab ];
mainProgram = "hpilo_cli";
};
}
|