diff options
author | Alyssa Ross <hi@alyssa.is> | 2024-02-20 12:16:56 +0100 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2024-02-20 12:16:56 +0100 |
commit | b24d64b3b1ef897f07cd072a88a9881cb330aa7f (patch) | |
tree | a87bb2eed9af3ef1efd51dd65221d91f0c949041 /nixpkgs/pkgs/by-name/re/redfishtool | |
parent | 73338df7473bb3810e70a16b8b0cba4f0f606f2b (diff) | |
parent | fa15b53dbea5028db38d6e09b4cef6eba42aeebb (diff) | |
download | nixlib-b24d64b3b1ef897f07cd072a88a9881cb330aa7f.tar nixlib-b24d64b3b1ef897f07cd072a88a9881cb330aa7f.tar.gz nixlib-b24d64b3b1ef897f07cd072a88a9881cb330aa7f.tar.bz2 nixlib-b24d64b3b1ef897f07cd072a88a9881cb330aa7f.tar.lz nixlib-b24d64b3b1ef897f07cd072a88a9881cb330aa7f.tar.xz nixlib-b24d64b3b1ef897f07cd072a88a9881cb330aa7f.tar.zst nixlib-b24d64b3b1ef897f07cd072a88a9881cb330aa7f.zip |
Merge branch 'nixos-unstable-small' of https://github.com/NixOS/nixpkgs
Diffstat (limited to 'nixpkgs/pkgs/by-name/re/redfishtool')
-rw-r--r-- | nixpkgs/pkgs/by-name/re/redfishtool/package.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/by-name/re/redfishtool/package.nix b/nixpkgs/pkgs/by-name/re/redfishtool/package.nix new file mode 100644 index 000000000000..d9457c3e1e6d --- /dev/null +++ b/nixpkgs/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"; + }; +} |