Merge pull request #109581 from fabaff/python-hpilo

python3Packages.python-hpilo: init at 4.4.3
This commit is contained in:
Martin Weinelt 2021-01-17 10:44:33 +01:00 committed by GitHub
commit f68ff4877f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 65 additions and 1 deletions

View File

@ -0,0 +1,28 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, utils
}:
buildPythonPackage rec {
pname = "python-hpilo";
version = "4.4.3";
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";
homepage = "https://seveas.github.io/python-hpilo/";
license = with licenses; [ asl20 gpl3Plus ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,32 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, mock
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "utils";
version = "1.0.1";
src = fetchFromGitHub {
owner = "haaksmash";
repo = "pyutils";
rev = version;
sha256 = "07pr39cfw5ayzkp6h53y7lfpd0w19pphsdzsf100fsyy3npavgbr";
};
checkInputs = [
mock
pytestCheckHook
];
pythonImportsCheck = [ "utils" ];
meta = with lib; {
description = "Python set of utility functions and objects";
homepage = "https://github.com/haaksmash/pyutils";
license = with licenses; [ lgpl3Only ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -357,7 +357,7 @@
"homeworks" = ps: with ps; [ ]; # missing inputs: pyhomeworks "homeworks" = ps: with ps; [ ]; # missing inputs: pyhomeworks
"honeywell" = ps: with ps; [ ]; # missing inputs: somecomfort "honeywell" = ps: with ps; [ ]; # missing inputs: somecomfort
"horizon" = ps: with ps; [ ]; # missing inputs: horimote "horizon" = ps: with ps; [ ]; # missing inputs: horimote
"hp_ilo" = ps: with ps; [ ]; # missing inputs: python-hpilo "hp_ilo" = ps: with ps; [ python-hpilo ];
"html5" = ps: with ps; [ aiohttp-cors pywebpush ]; "html5" = ps: with ps; [ aiohttp-cors pywebpush ];
"http" = ps: with ps; [ aiohttp-cors ]; "http" = ps: with ps; [ aiohttp-cors ];
"htu21d" = ps: with ps; [ smbus-cffi ]; # missing inputs: i2csense "htu21d" = ps: with ps; [ smbus-cffi ]; # missing inputs: i2csense

View File

@ -6161,6 +6161,8 @@ in {
python-hosts = callPackage ../development/python-modules/python-hosts { }; python-hosts = callPackage ../development/python-modules/python-hosts { };
python-hpilo = callPackage ../development/python-modules/python-hpilo { };
python-igraph = callPackage ../development/python-modules/python-igraph { python-igraph = callPackage ../development/python-modules/python-igraph {
pkgconfig = pkgs.pkgconfig; pkgconfig = pkgs.pkgconfig;
igraph = pkgs.igraph; igraph = pkgs.igraph;
@ -7912,6 +7914,8 @@ in {
userpath = callPackage ../development/python-modules/userpath { }; userpath = callPackage ../development/python-modules/userpath { };
utils = callPackage ../development/python-modules/utils { };
uuid = callPackage ../development/python-modules/uuid { }; uuid = callPackage ../development/python-modules/uuid { };
uvcclient = callPackage ../development/python-modules/uvcclient { }; uvcclient = callPackage ../development/python-modules/uvcclient { };