nixpkgs/pkgs/by-name/re/redfishtool/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

29 lines
672 B
Nix

{ 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";
license = licenses.bsd3;
maintainers = with maintainers; [ jfvillablanca ];
mainProgram = "redfishtool";
};
}