diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-01-13 14:57:40 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-01-13 14:58:21 +0300 |
commit | dbac5951de93ea97320f0d6527ff00048fcf26ed (patch) | |
tree | 10670d3edef6d32dd46278225f9ab2102c8e564a /pkgs/tools/misc/pg_top | |
parent | 6ea56a46fb9a8eed9acd9e341cf2ae1c90d52944 (diff) |
pg_top: add license and platforms
Diffstat (limited to 'pkgs/tools/misc/pg_top')
-rw-r--r-- | pkgs/tools/misc/pg_top/default.nix | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/pkgs/tools/misc/pg_top/default.nix b/pkgs/tools/misc/pg_top/default.nix index 0d379cd11d4a3..4de334331158c 100644 --- a/pkgs/tools/misc/pg_top/default.nix +++ b/pkgs/tools/misc/pg_top/default.nix @@ -1,16 +1,16 @@ -{stdenv, fetchurl, ncurses, postgresql}: +{ stdenv, fetchurl, ncurses, postgresql }: -stdenv.mkDerivation { +stdenv.mkDerivation rec { name = "pg_top-3.7.0"; 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"; }; - buildInputs = [ncurses postgresql]; + buildInputs = [ ncurses postgresql ]; - meta = { + meta = with stdenv.lib; { description = "A 'top' like tool for PostgreSQL"; longDescription = '' pg_top allows you to: @@ -21,8 +21,10 @@ stdenv.mkDerivation { <listitem>View user table statistics.</listitem> <listitem>View user index statistics.</listitem> </itemizedlist> - ''; + ''; homepage = http://ptop.projects.postgresql.org/; + platforms = platforms.linux; + license = licenses.free; # see commands.c }; } |