about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-hpilo
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-01-16 23:55:48 +0100
committerFabian Affolter <mail@fabian-affolter.ch>2021-01-16 23:55:48 +0100
commit8c58c96c9ea5ef884aad1f69492455bcba9fb8d2 (patch)
treec030e59d3930e97ee1e0018a96fdd3886238d2e8 /pkgs/development/python-modules/python-hpilo
parent0aa29da6d2bfe0ef5927b45c82e49802b5121397 (diff)
python3Packages.python-hpilo: init at 4.4.3
Diffstat (limited to 'pkgs/development/python-modules/python-hpilo')
-rw-r--r--pkgs/development/python-modules/python-hpilo/default.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/python-hpilo/default.nix b/pkgs/development/python-modules/python-hpilo/default.nix
new file mode 100644
index 0000000000000..f151e3ffb4cd4
--- /dev/null
+++ b/pkgs/development/python-modules/python-hpilo/default.nix
@@ -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 ];
+  };
+}