2e6bf42a22
There ver very many conflicts, basically all due to name -> pname+version. Fortunately, almost everything was auto-resolved by kdiff3, and for now I just fixed up a couple evaluation problems, as verified by the tarball job. There might be some fallback to these conflicts, but I believe it should be minimal. Hydra nixpkgs: ?compare=1538299
24 lines
576 B
Nix
24 lines
576 B
Nix
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
|
|
|
with stdenv.lib;
|
|
|
|
buildGoPackage rec {
|
|
pname = "postgres_exporter";
|
|
version = "0.5.1";
|
|
|
|
goPackagePath = "github.com/wrouesnel/postgres_exporter";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "wrouesnel";
|
|
repo = "postgres_exporter";
|
|
rev = "v${version}";
|
|
sha256 = "1awcqhiak56nrsaa49lkw6mcbrlm86ls14sp9v69h3a0brc1q7bn";
|
|
};
|
|
|
|
meta = {
|
|
inherit (src.meta) homepage;
|
|
description = "A Prometheus exporter for PostgreSQL";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ fpletz globin ];
|
|
};
|
|
}
|