1{
2 lib,
3 buildPythonPackage,
4 fetchFromGitHub,
5}:
6
7buildPythonPackage rec {
8 pname = "python-hpilo";
9 version = "4.4.3";
10 format = "setuptools";
11
12 src = fetchFromGitHub {
13 owner = "seveas";
14 repo = pname;
15 rev = version;
16 sha256 = "1dk5xswydw7nmn9hlna1xca1mzcas9qv2kmid5yx8kvk3hjqci9v";
17 };
18
19 # Most tests requires an actual iLO to run
20 doCheck = false;
21 pythonImportsCheck = [ "hpilo" ];
22
23 meta = with lib; {
24 description = "Python module to access the HP iLO XML interface";
25 mainProgram = "hpilo_cli";
26 homepage = "https://seveas.github.io/python-hpilo/";
27 license = with licenses; [
28 asl20
29 gpl3Plus
30 ];
31 maintainers = with maintainers; [ fab ];
32 };
33}