2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
2021-02-05 17:12:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "python-hpilo";
|
|
|
|
version = "4.4.3";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-02-05 17:12:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "seveas";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
|
|
|
sha256 = "1dk5xswydw7nmn9hlna1xca1mzcas9qv2kmid5yx8kvk3hjqci9v";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Most tests requires an actual iLO to run
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "hpilo" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python module to access the HP iLO XML interface";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "hpilo_cli";
|
2021-02-05 17:12:51 +00:00
|
|
|
homepage = "https://seveas.github.io/python-hpilo/";
|
2024-06-05 15:53:02 +00:00
|
|
|
license = with licenses; [
|
|
|
|
asl20
|
|
|
|
gpl3Plus
|
|
|
|
];
|
2021-02-05 17:12:51 +00:00
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|