blob: d1cb5dcec9cb7c49df0b78d2be7a86afdb5ff7a6 (
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
|
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "dnsmasq_exporter";
version = "0.1.0";
goPackagePath = "github.com/google/dnsmasq_exporter";
src = fetchFromGitHub {
owner = "google";
repo = "dnsmasq_exporter";
sha256 = "0pl4jkp0kssplv32wbg8yk06x9c2hidilpix32hdvk287l3ys201";
rev = "v${version}";
};
goDeps = ./dnsmasq-exporter-deps.nix;
meta = with stdenv.lib; {
inherit (src.meta) homepage;
description = "A dnsmasq exporter for Prometheus";
license = licenses.asl20;
maintainers = with maintainers; [ willibutz globin ];
};
}
|