blob: 3b98cf5e3d7617587d35db2f39a7e2a07f3a8d73 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
{ lib
, python3
, fetchFromGitHub
, nixosTests
}:
python3.pkgs.buildPythonApplication rec {
pname = "deluge-exporter";
version = "2.4.0-unstable-2024-06-02";
src = fetchFromGitHub {
owner = "ibizaman";
repo = "deluge_exporter";
rev = "8d446c8cba4a324aa052e66c115121b23adc970f";
hash = "sha256-1brLWx6IEGffcvHPCkz10k9GCNQIXXJ9PYZuEzlKHTA=";
};
propagatedBuildInputs = with python3.pkgs; [
deluge-client
loguru
prometheus-client
];
pythonImportsCheck = [
"deluge_exporter"
];
meta = with lib; {
description = "Prometheus exporter for Deluge";
homepage = "https://github.com/ibizaman/deluge_exporter";
license = licenses.isc;
maintainers = with maintainers; [ ibizaman ];
mainProgram = "deluge-exporter";
};
}
|