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