2024-02-29 20:09:43 +00:00
|
|
|
{ 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; {
|
2024-06-20 14:57:18 +00:00
|
|
|
description = "Python34 program that implements a command line tool for accessing the Redfish API";
|
2024-02-29 20:09:43 +00:00
|
|
|
homepage = "https://github.com/DMTF/Redfishtool";
|
2024-07-27 06:49:29 +00:00
|
|
|
changelog = "https://github.com/DMTF/Redfishtool/blob/${version}/CHANGELOG.md";
|
2024-02-29 20:09:43 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ jfvillablanca ];
|
|
|
|
mainProgram = "redfishtool";
|
|
|
|
};
|
|
|
|
}
|