mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
prometheus-postgres-exporter: 0.5.1 -> 0.6.0
This commit is contained in:
parent
ebd7466a0b
commit
e3ce6c5902
@ -1,10 +1,8 @@
|
|||||||
{ stdenv, buildGoPackage, fetchFromGitHub }:
|
{ lib, buildGoPackage, fetchFromGitHub }:
|
||||||
|
|
||||||
with stdenv.lib;
|
|
||||||
|
|
||||||
buildGoPackage rec {
|
buildGoPackage rec {
|
||||||
pname = "postgres_exporter";
|
pname = "postgres_exporter";
|
||||||
version = "0.5.1";
|
version = "0.6.0";
|
||||||
|
|
||||||
goPackagePath = "github.com/wrouesnel/postgres_exporter";
|
goPackagePath = "github.com/wrouesnel/postgres_exporter";
|
||||||
|
|
||||||
@ -12,13 +10,13 @@ buildGoPackage rec {
|
|||||||
owner = "wrouesnel";
|
owner = "wrouesnel";
|
||||||
repo = "postgres_exporter";
|
repo = "postgres_exporter";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1awcqhiak56nrsaa49lkw6mcbrlm86ls14sp9v69h3a0brc1q7bn";
|
sha256 = "0a903mklp3aardlbz5fkslisav9khd1w3akcf9xkc5nfinr6xnqb";
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
inherit (src.meta) homepage;
|
inherit (src.meta) homepage;
|
||||||
description = "A Prometheus exporter for PostgreSQL";
|
description = "A Prometheus exporter for PostgreSQL";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = with maintainers; [ fpletz globin ];
|
maintainers = with maintainers; [ fpletz globin willibutz ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user