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

24 lines
546 B
Nix

{ 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;
}