diff options
author | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-11-26 18:44:44 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com> | 2015-11-26 23:45:31 +0100 |
commit | 2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c (patch) | |
tree | 64bf789924f9b17cf4ab32f75692c0c10ed4f2f6 /pkgs/os-specific/linux/ftop | |
parent | 8fe518e763917f478dc5e76eae7b2aea9c582cad (diff) | |
download | nixpkgs-2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c.tar nixpkgs-2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c.tar.gz nixpkgs-2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c.tar.bz2 nixpkgs-2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c.tar.lz nixpkgs-2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c.tar.xz nixpkgs-2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c.tar.zst nixpkgs-2798b02ad03ebdc104fecc6439c0bcf5bb32fe6c.zip |
Convert some *Flags from strings to lists
Diffstat (limited to 'pkgs/os-specific/linux/ftop')
-rw-r--r-- | pkgs/os-specific/linux/ftop/default.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/os-specific/linux/ftop/default.nix b/pkgs/os-specific/linux/ftop/default.nix index e41a28b256a..022fc33a206 100644 --- a/pkgs/os-specific/linux/ftop/default.nix +++ b/pkgs/os-specific/linux/ftop/default.nix @@ -1,7 +1,8 @@ { stdenv, fetchurl, ncurses }: +let version = "1.0"; in stdenv.mkDerivation rec { - name = "ftop-1.0"; + name = "ftop-${version}"; src = fetchurl { url = "http://ftop.googlecode.com/files/${name}.tar.bz2"; @@ -14,18 +15,19 @@ stdenv.mkDerivation rec { ./ftop-fix_buffer_overflow.patch ./ftop-fix_printf_format.patch ]; - patchFlags = "-p0"; + patchFlags = [ "-p0" ]; postPatch = '' substituteInPlace configure --replace "curses" "ncurses" ''; meta = with stdenv.lib; { + inherit version; description = "Show progress of open files and file systems"; homepage = https://code.google.com/p/ftop/; license = licenses.gpl3Plus; longDescription = '' - Ftop is to files what top is to processes. The progress of all open files + ftop is to files what top is to processes. The progress of all open files and file systems can be monitored. If run as a regular user, the set of open files will be limited to those in that user's processes (which is generally all that is of interest to the user). |