mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 07:04:28 +00:00
066db11215
This reverts commit4e6bf03504
, reversing changes made toafd997aab6
. Instead we propagate those frameworks from the compiler again
23 lines
583 B
Nix
23 lines
583 B
Nix
{ stdenv, buildGoModule, fetchFromGitHub }:
|
|
|
|
buildGoModule rec {
|
|
pname = "dnsmasq_exporter";
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = "dnsmasq_exporter";
|
|
sha256 = "1i7imid981l0a9k8lqyr9igm3qkk92kid4xzadkwry4857k6mgpj";
|
|
rev = "v${version}";
|
|
};
|
|
|
|
modSha256 = "1ag1k0z35zkazaxj8hh2wxfj73xg63xdybfm1565il2vxs5986dh";
|
|
|
|
meta = with stdenv.lib; {
|
|
inherit (src.meta) homepage;
|
|
description = "A dnsmasq exporter for Prometheus";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ willibutz globin ma27 ];
|
|
};
|
|
}
|