pg_top: 3.7.0 -> 4.1.0
Changelog: https://gitlab.com/pg_top/pg_top/-/blob/main/HISTORY.rst
This commit is contained in:
parent
54834bdfc7
commit
c73e275bfa
@ -1,30 +1,33 @@
|
||||
{ lib, stdenv, fetchurl, ncurses, postgresql }:
|
||||
{ lib, stdenv, fetchurl, ncurses, postgresql, cmake, libelf, libbsd }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pg_top";
|
||||
version = "3.7.0";
|
||||
version = "4.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://pgfoundry.org/frs/download.php/1781/pg_top-${version}.tar.gz";
|
||||
sha256 = "17xrv0l58rv3an06gkajzw0gg6v810xx6vl137an1iykmhvfh7h2";
|
||||
url = "https://pg_top.gitlab.io/source/pg_top-${version}.tar.xz";
|
||||
sha256 = "sha256-WdSiQURJgtBCYoS/maImppcyM8wzUIJzLWmiSZPlx1Q=";
|
||||
};
|
||||
|
||||
buildInputs = [ ncurses postgresql ];
|
||||
buildInputs = [ libbsd libelf ncurses postgresql ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "'top' like tool for PostgreSQL";
|
||||
longDescription = ''
|
||||
pg_top allows you to:
|
||||
* View currently running SQL statement of a process.
|
||||
* View query plan of a currently running SQL statement.
|
||||
* View query plan of a currently running SELECT statement.
|
||||
* View locks held by a process.
|
||||
* View user table statistics.
|
||||
* View user index statistics.
|
||||
* View I/O statistics per process.
|
||||
* View replication statistics for downstream nodes.
|
||||
'';
|
||||
|
||||
homepage = "http://ptop.projects.postgresql.org/";
|
||||
homepage = "https://pg_top.gitlab.io";
|
||||
changelog = "https://gitlab.com/pg_top/pg_top/-/blob/main/HISTORY.rst";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.free; # see commands.c
|
||||
license = licenses.bsd3;
|
||||
mainProgram = "pg_top";
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user