nixpkgs/pkgs/tools/misc/pgmetrics/default.nix

25 lines
621 B
Nix
Raw Normal View History

2018-11-07 04:04:21 +01:00
{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
2019-03-13 23:49:53 +01:00
pname = "pgmetrics";
version = "1.6.1";
2018-11-07 04:04:21 +01:00
goPackagePath = "github.com/rapidloop/pgmetrics";
src = fetchFromGitHub {
owner = "rapidloop";
repo = "pgmetrics";
rev = "refs/tags/v${version}";
2019-03-13 23:49:53 +01:00
sha256 = "0dj4b4gghzzwnzb0fdix1ps97scfr24f6dfa7d0vwak95ds5vz3s";
2018-11-07 04:04:21 +01:00
};
goDeps = ./deps.nix;
meta = with stdenv.lib; {
homepage = https://pgmetrics.io/;
description = "Collect and display information and stats from a running PostgreSQL server";
license = licenses.asl20;
maintainers = [ maintainers.marsam ];
};
}