Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
863 B
Nix
38 lines
863 B
Nix
{
|
|
lib,
|
|
fetchPypi,
|
|
python3,
|
|
}:
|
|
|
|
let
|
|
pname = "redfishtool";
|
|
version = "1.1.8";
|
|
in
|
|
python3.pkgs.buildPythonApplication {
|
|
inherit pname version;
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-X/G6osOHCBidKZG/Y2nmHadifDacJhjBIc7WYrUCPn8=";
|
|
};
|
|
|
|
build-system = with python3.pkgs; [ setuptools ];
|
|
|
|
propagatedBuildInputs = with python3.pkgs; [
|
|
requests
|
|
python-dateutil
|
|
];
|
|
|
|
pythonImportsCheck = [ "redfishtoollib" ];
|
|
|
|
meta = {
|
|
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 = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ jfvillablanca ];
|
|
mainProgram = "redfishtool";
|
|
};
|
|
}
|