pg_top: add license and platforms
This commit is contained in:
parent
6ea56a46fb
commit
dbac5951de
|
@ -1,16 +1,16 @@
|
||||||
{stdenv, fetchurl, ncurses, postgresql}:
|
{ stdenv, fetchurl, ncurses, postgresql }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "pg_top-3.7.0";
|
name = "pg_top-3.7.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://pgfoundry.org/frs/download.php/1781/pg_top-3.7.0.tar.gz;
|
url = "http://pgfoundry.org/frs/download.php/1781/${name}.tar.gz";
|
||||||
sha256 = "17xrv0l58rv3an06gkajzw0gg6v810xx6vl137an1iykmhvfh7h2";
|
sha256 = "17xrv0l58rv3an06gkajzw0gg6v810xx6vl137an1iykmhvfh7h2";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ncurses postgresql];
|
buildInputs = [ ncurses postgresql ];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "A 'top' like tool for PostgreSQL";
|
description = "A 'top' like tool for PostgreSQL";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
pg_top allows you to:
|
pg_top allows you to:
|
||||||
|
@ -24,5 +24,7 @@ stdenv.mkDerivation {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
homepage = http://ptop.projects.postgresql.org/;
|
homepage = http://ptop.projects.postgresql.org/;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
license = licenses.free; # see commands.c
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue