1 { lib, fetchFromGitHub, python3Packages }:
4 bName = "check_esxi_hardware";
6 in python3Packages.buildPythonApplication rec {
7 pname = lib.replaceStrings [ "_" ] [ "-" ] bName;
11 src = fetchFromGitHub {
15 sha256 = "EC6np/01S+5SA2H9z5psJ9Pq/YoEyGdHL9wHUKKsNas=";
24 install -Dm755 ${bName}.py $out/bin/${bName}
25 install -Dm644 -t $out/share/doc/${pname} README.md
30 propagatedBuildInputs = with python3Packages; [ pywbem requests setuptools ];
33 homepage = "https://www.claudiokuenzler.com/nagios-plugins/";
34 license = licenses.gpl2;
35 maintainers = with maintainers; [ peterhoeg ];