python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / misc / pg_top / default.nix
blob9521136977f31f0dd4c626a026cd71d243080a1b
1 { lib, stdenv, fetchurl, ncurses, postgresql }:
3 stdenv.mkDerivation rec {
4   pname = "pg_top";
5   version = "3.7.0";
7   src = fetchurl {
8     url = "https://pgfoundry.org/frs/download.php/1781/pg_top-${version}.tar.gz";
9     sha256 = "17xrv0l58rv3an06gkajzw0gg6v810xx6vl137an1iykmhvfh7h2";
10   };
12   buildInputs = [ ncurses postgresql ];
14   meta = with lib; {
15     description = "A 'top' like tool for PostgreSQL";
16     longDescription = ''
17       pg_top allows you to:
18        * View currently running SQL statement of a process.
19        * View query plan of a currently running SQL statement.
20        * View locks held by a process.
21        * View user table statistics.
22        * View user index statistics.
23     '';
25     homepage = "http://ptop.projects.postgresql.org/";
26     platforms = platforms.linux;
27     license = licenses.free; # see commands.c
28   };