depot/nix/pkgs/prometheus-bird-exporter-lfty.nix

25 lines
546 B
Nix
Raw Normal View History

{ buildGoPackage
, prometheus-bird-exporter
, fetchFromGitea
}:
buildGoPackage rec {
pname = "prometheus-bird-exporter-lfty";
version = "1.2.5";
name = "${pname}-${version}";
src = fetchFromGitea {
domain = "scm.linefinity.com";
owner = "common";
repo = pname;
rev = "ea2538b4391508f5c23b6c6874a36cc68180cb24";
sha256 = "sha256:0c1wj43kfwvyhi1p45akfqrincf8n36pffx2kyb050a2llsgx70z";
};
goPackagePath = "github.com/czerwonk/bird_exporter";
passthru.tests = null;
inherit (prometheus-bird-exporter) meta;
}