1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/tools/misc/pgmetrics/default.nix
2019-03-13 23:49:53 +01:00

25 lines
621 B
Nix

{ stdenv, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "pgmetrics";
version = "1.6.1";
goPackagePath = "github.com/rapidloop/pgmetrics";
src = fetchFromGitHub {
owner = "rapidloop";
repo = "pgmetrics";
rev = "refs/tags/v${version}";
sha256 = "0dj4b4gghzzwnzb0fdix1ps97scfr24f6dfa7d0vwak95ds5vz3s";
};
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 ];
};
}