blob: 2ceddeb8a4b29818175e5147a5f26a5e7404457f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "pihole-exporter";
version = "0.4.0";
src = fetchFromGitHub {
owner = "eko";
repo = pname;
rev = "v${version}";
sha256 = "sha256-ZHeAp2++faqoxt+2uvtea2+xPST2sonuBJAhI6GZg1Y=";
};
vendorHash = "sha256-Wn4W7e8v/njvODA0znqtZsMRfcH6L6r5biAOwfyKUAU=";
meta = with lib; {
description = "Prometheus exporter for PI-Hole's Raspberry PI ad blocker";
homepage = "https://github.com/eko/pihole-exporter";
license = licenses.mit;
maintainers = with maintainers; [ ];
};
}
|