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