diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2018-11-06 22:04:21 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2018-11-07 06:47:31 -0500 |
commit | 780a3ffa1226195e10675211683be4be38795919 (patch) | |
tree | d5c8684170709cf6fa2c38a6bd7f55188a9f97b1 /pkgs/tools/misc/pgmetrics/default.nix | |
parent | 78090f4f094f6d551b07a767fff60ce10f221d72 (diff) | |
download | nixpkgs-780a3ffa1226195e10675211683be4be38795919.tar nixpkgs-780a3ffa1226195e10675211683be4be38795919.tar.gz nixpkgs-780a3ffa1226195e10675211683be4be38795919.tar.bz2 nixpkgs-780a3ffa1226195e10675211683be4be38795919.tar.lz nixpkgs-780a3ffa1226195e10675211683be4be38795919.tar.xz nixpkgs-780a3ffa1226195e10675211683be4be38795919.tar.zst nixpkgs-780a3ffa1226195e10675211683be4be38795919.zip |
pgmetrics: init at 1.5.0
Diffstat (limited to 'pkgs/tools/misc/pgmetrics/default.nix')
-rw-r--r-- | pkgs/tools/misc/pgmetrics/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/tools/misc/pgmetrics/default.nix b/pkgs/tools/misc/pgmetrics/default.nix new file mode 100644 index 00000000000..64d290ad89e --- /dev/null +++ b/pkgs/tools/misc/pgmetrics/default.nix @@ -0,0 +1,24 @@ +{ stdenv, buildGoPackage, fetchFromGitHub }: + +buildGoPackage rec { + name = "pgmetrics-${version}"; + version = "1.5.0"; + + goPackagePath = "github.com/rapidloop/pgmetrics"; + + src = fetchFromGitHub { + owner = "rapidloop"; + repo = "pgmetrics"; + rev = "refs/tags/v${version}"; + sha256 = "1l3vd1lvp4a6irx0zpjb5bkskkb9krx9j7pwii8jy9dcjy4gj24f"; + }; + + 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 ]; + }; +} |