apc-temp-fetch: init at 0.0.1
This commit is contained in:
parent
9458f8031a
commit
f84dbdd78e
35
pkgs/tools/networking/apc-temp-fetch/default.nix
Normal file
35
pkgs/tools/networking/apc-temp-fetch/default.nix
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
{ lib
|
||||||
|
, buildPythonApplication
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
, requests
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonApplication rec {
|
||||||
|
pname = "apc-temp-fetch";
|
||||||
|
version = "0.0.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
pname = "APC-Temp-fetch";
|
||||||
|
inherit version;
|
||||||
|
hash = "sha256-2hNrTrYQadNJWzj7/dDou+a6uI+Ksyrbru9rBqIHXaM=";
|
||||||
|
};
|
||||||
|
|
||||||
|
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 = [ maintainers.zseri ];
|
||||||
|
};
|
||||||
|
}
|
@ -4387,6 +4387,8 @@ with pkgs;
|
|||||||
|
|
||||||
apple-music-electron = callPackage ../applications/audio/apple-music-electron { };
|
apple-music-electron = callPackage ../applications/audio/apple-music-electron { };
|
||||||
|
|
||||||
|
apc-temp-fetch = with python3.pkgs; callPackage ../tools/networking/apc-temp-fetch { };
|
||||||
|
|
||||||
arping = callPackage ../tools/networking/arping { };
|
arping = callPackage ../tools/networking/arping { };
|
||||||
|
|
||||||
arpoison = callPackage ../tools/networking/arpoison { };
|
arpoison = callPackage ../tools/networking/arpoison { };
|
||||||
|
Loading…
Reference in New Issue
Block a user