mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
5356420466
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \ -e 's!with lib.maintainers; \[ *\];![ ];!' \ -e 's!with maintainers; \[ *\];![ ];!'
23 lines
598 B
Nix
23 lines
598 B
Nix
{ 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";
|
|
mainProgram = "pihole-exporter";
|
|
homepage = "https://github.com/eko/pihole-exporter";
|
|
license = licenses.mit;
|
|
maintainers = [ ];
|
|
};
|
|
}
|