about summary refs log tree commit diff
path: root/pkgs/by-name/re
diff options
context:
space:
mode:
authorBruno Bigras <bigras.bruno@gmail.com>2024-02-17 00:48:44 -0500
committerGitHub <noreply@github.com>2024-02-17 00:48:44 -0500
commit5586a7142e1bc7da9d2b9ffc9fad356c3d613c05 (patch)
tree4152a463f8e570f47a82bab73c9b08a5d8006e09 /pkgs/by-name/re
parentb7efb1e376637a08f1baf5257d925bb9e9557b14 (diff)
parent6eccad0f4eaf76a939b3ce7a4198472bb12bd265 (diff)
downloadnixlib-5586a7142e1bc7da9d2b9ffc9fad356c3d613c05.tar
nixlib-5586a7142e1bc7da9d2b9ffc9fad356c3d613c05.tar.gz
nixlib-5586a7142e1bc7da9d2b9ffc9fad356c3d613c05.tar.bz2
nixlib-5586a7142e1bc7da9d2b9ffc9fad356c3d613c05.tar.lz
nixlib-5586a7142e1bc7da9d2b9ffc9fad356c3d613c05.tar.xz
nixlib-5586a7142e1bc7da9d2b9ffc9fad356c3d613c05.tar.zst
nixlib-5586a7142e1bc7da9d2b9ffc9fad356c3d613c05.zip
Merge pull request #260447 from jfvillablanca/redfishtool
redfishtool: init at 1.1.8
Diffstat (limited to 'pkgs/by-name/re')
-rw-r--r--pkgs/by-name/re/redfishtool/package.nix28
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/by-name/re/redfishtool/package.nix b/pkgs/by-name/re/redfishtool/package.nix
new file mode 100644
index 000000000000..d9457c3e1e6d
--- /dev/null
+++ b/pkgs/by-name/re/redfishtool/package.nix
@@ -0,0 +1,28 @@
+{ lib
+, fetchPypi
+, python3
+}:
+
+let
+  pname = "redfishtool";
+  version = "1.1.8";
+in
+python3.pkgs.buildPythonApplication {
+  inherit pname version;
+  format = "setuptools";
+
+  src = fetchPypi {
+    inherit pname version;
+    hash = "sha256-X/G6osOHCBidKZG/Y2nmHadifDacJhjBIc7WYrUCPn8=";
+  };
+
+  propagatedBuildInputs = with python3.pkgs; [ requests python-dateutil ];
+
+  meta = with lib; {
+    description = "A Python34 program that implements a command line tool for accessing the Redfish API";
+    homepage = "https://github.com/DMTF/Redfishtool";
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ jfvillablanca ];
+    mainProgram = "redfishtool";
+  };
+}