diff options
Diffstat (limited to 'pkgs/tools/networking/apc-temp-fetch/default.nix')
-rw-r--r-- | pkgs/tools/networking/apc-temp-fetch/default.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/tools/networking/apc-temp-fetch/default.nix b/pkgs/tools/networking/apc-temp-fetch/default.nix index 7676465eb4997..84d1db515da17 100644 --- a/pkgs/tools/networking/apc-temp-fetch/default.nix +++ b/pkgs/tools/networking/apc-temp-fetch/default.nix @@ -3,12 +3,13 @@ , fetchPypi , pythonOlder , requests +, setuptools }: buildPythonApplication rec { pname = "apc-temp-fetch"; version = "0.0.2"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.6"; @@ -18,7 +19,11 @@ buildPythonApplication rec { hash = "sha256-lXGj/xrOkdMMYvuyVVSCojjQlzISFUT14VTn//iOARo="; }; - propagatedBuildInputs = [ + build-system = [ + setuptools + ]; + + dependencies = [ requests ]; @@ -30,6 +35,6 @@ buildPythonApplication rec { description = "unified temperature fetcher interface to several UPS network adapters"; homepage = "https://github.com/YZITE/APC_Temp_fetch"; license = licenses.asl20; - maintainers = [ maintainers.fogti ]; + maintainers = [ ]; }; } |