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

26 lines
629 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;
meta = prometheus-bird-exporter.meta // {
url = "https://scm.linefinity.com/common/prometheus-bird-exporter-lfty";
};
}