about summary refs log tree commit diff
path: root/pkgs/by-name/re/redfishtool/package.nix
blob: 020adb304479d07ed8a5849a4c6916ac3eca32ab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ 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 = "Python34 program that implements a command line tool for accessing the Redfish API";
    homepage = "https://github.com/DMTF/Redfishtool";
    changelog = "https://github.com/DMTF/Redfishtool/blob/${version}/CHANGELOG.md";
    license = licenses.bsd3;
    maintainers = with maintainers; [ jfvillablanca ];
    mainProgram = "redfishtool";
  };
}