nixpkgs/pkgs/tools/networking/apc-temp-fetch/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
720 B
Nix
Raw Permalink Normal View History

2022-03-25 22:27:39 +00:00
{ lib
, buildPythonApplication
, fetchPypi
, pythonOlder
, requests
2024-05-07 08:46:48 +00:00
, setuptools
2022-03-25 22:27:39 +00:00
}:
buildPythonApplication rec {
pname = "apc-temp-fetch";
2022-12-02 12:46:50 +00:00
version = "0.0.2";
2024-05-07 08:46:48 +00:00
pyproject = true;
2022-03-25 22:27:39 +00:00
disabled = pythonOlder "3.6";
src = fetchPypi {
pname = "APC-Temp-fetch";
inherit version;
2022-12-02 12:46:50 +00:00
hash = "sha256-lXGj/xrOkdMMYvuyVVSCojjQlzISFUT14VTn//iOARo=";
2022-03-25 22:27:39 +00:00
};
2024-05-07 08:46:48 +00:00
build-system = [
setuptools
];
dependencies = [
2022-03-25 22:27:39 +00:00
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 = [ ];
2022-03-25 22:27:39 +00:00
};
}