apc-temp-fetch: init at 0.0.1

zseri f84dbdd7 9458f803

+37
+35
pkgs/tools/networking/apc-temp-fetch/default.nix
···
··· 1 + { lib 2 + , buildPythonApplication 3 + , fetchPypi 4 + , pythonOlder 5 + , requests 6 + }: 7 + 8 + buildPythonApplication rec { 9 + pname = "apc-temp-fetch"; 10 + version = "0.0.1"; 11 + format = "setuptools"; 12 + 13 + disabled = pythonOlder "3.6"; 14 + 15 + src = fetchPypi { 16 + pname = "APC-Temp-fetch"; 17 + inherit version; 18 + hash = "sha256-2hNrTrYQadNJWzj7/dDou+a6uI+Ksyrbru9rBqIHXaM="; 19 + }; 20 + 21 + propagatedBuildInputs = [ 22 + requests 23 + ]; 24 + 25 + pythonImportsCheck = [ 26 + "APC_Temp_fetch" 27 + ]; 28 + 29 + meta = with lib; { 30 + description = "unified temperature fetcher interface to several UPS network adapters"; 31 + homepage = "https://github.com/YZITE/APC_Temp_fetch"; 32 + license = licenses.asl20; 33 + maintainers = [ maintainers.zseri ]; 34 + }; 35 + }
+2
pkgs/top-level/all-packages.nix
··· 4387 4388 apple-music-electron = callPackage ../applications/audio/apple-music-electron { }; 4389 4390 arping = callPackage ../tools/networking/arping { }; 4391 4392 arpoison = callPackage ../tools/networking/arpoison { };
··· 4387 4388 apple-music-electron = callPackage ../applications/audio/apple-music-electron { }; 4389 4390 + apc-temp-fetch = with python3.pkgs; callPackage ../tools/networking/apc-temp-fetch { }; 4391 + 4392 arping = callPackage ../tools/networking/arping { }; 4393 4394 arpoison = callPackage ../tools/networking/arpoison { };