commit
5a4b7d989f
@ -4061,6 +4061,12 @@
|
||||
github = "gytis-ivaskevicius";
|
||||
githubId = 23264966;
|
||||
};
|
||||
hagl = {
|
||||
email = "harald@glie.be";
|
||||
github = "hagl";
|
||||
githubId = 1162118;
|
||||
name = "Harald Gliebe";
|
||||
};
|
||||
hakuch = {
|
||||
email = "hakuch@gmail.com";
|
||||
github = "hakuch";
|
||||
|
30
pkgs/development/tools/pgtop/default.nix
Normal file
30
pkgs/development/tools/pgtop/default.nix
Normal file
@ -0,0 +1,30 @@
|
||||
{ lib, stdenv, perlPackages, fetchFromGitHub, shortenPerlShebang }:
|
||||
|
||||
perlPackages.buildPerlPackage rec {
|
||||
pname = "pgtop";
|
||||
version = "0.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cosimo";
|
||||
repo = "pgtop";
|
||||
rev = "v${version}";
|
||||
sha256 = "1awyl6ddfihm7dfr5y2z15r1si5cyipnlyyj3m1l19pk98s4x66l";
|
||||
};
|
||||
|
||||
outputs = [ "out" ];
|
||||
|
||||
buildInputs = with perlPackages; [ DBI DBDPg TermReadKey JSON LWPUserAgent ];
|
||||
|
||||
nativeBuildInputs = lib.optional stdenv.isDarwin shortenPerlShebang;
|
||||
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||
shortenPerlShebang $out/bin/pgtop
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "a PostgreSQL clone of `mytop', which in turn is a `top' clone for MySQL";
|
||||
homepage = "https://github.com/cosimo/pgtop";
|
||||
changelog = "https://github.com/cosimo/pgtop/releases/tag/v${version}";
|
||||
maintainers = [ maintainers.hagl ];
|
||||
license = [ licenses.gpl2Only ];
|
||||
};
|
||||
}
|
@ -5616,6 +5616,8 @@ in
|
||||
|
||||
pgloader = callPackage ../development/tools/pgloader { };
|
||||
|
||||
pgtop = callPackage ../development/tools/pgtop { };
|
||||
|
||||
pigz = callPackage ../tools/compression/pigz { };
|
||||
|
||||
pixz = callPackage ../tools/compression/pixz { };
|
||||
|
Loading…
Reference in New Issue
Block a user