nixpkgs/pkgs/tools/networking/apc-temp-fetch/default.nix
Alain Emilia Anna Zscheile 783a35ca3d maintainers: remove fogti
Feel free to remove the following packages, which were essentially personal tools:
- apc-temp-fetch:
    this is outdated anyways, it needs flit to build now,
    see also: 53bcaab3e9/net-analyzer/APC-Temp-fetch/APC-Temp-fetch-0.0.9.ebuild
- libowlevelzs
- zs-apc-spdu-ctl
- zs-wait4host
- zstxtns-utils
2024-04-27 14:44:36 +02:00

35 lines
681 B
Nix

{ lib
, buildPythonApplication
, fetchPypi
, pythonOlder
, requests
}:
buildPythonApplication rec {
pname = "apc-temp-fetch";
version = "0.0.2";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "APC-Temp-fetch";
inherit version;
hash = "sha256-lXGj/xrOkdMMYvuyVVSCojjQlzISFUT14VTn//iOARo=";
};
propagatedBuildInputs = [
requests
];
pythonImportsCheck = [
"APC_Temp_fetch"
];
meta = with lib; {
description = "unified temperature fetcher interface to several UPS network adapters";
homepage = "https://github.com/YZITE/APC_Temp_fetch";
license = licenses.asl20;
maintainers = [ ];
};
}