diff options
author | William A. Kennington III <william@wkennington.com> | 2015-03-27 11:15:49 -0700 |
---|---|---|
committer | William A. Kennington III <william@wkennington.com> | 2015-03-27 11:15:49 -0700 |
commit | dceff137e107fdbcf13b0d645be48e3cc4256d7f (patch) | |
tree | 1e874e938841d22669733e26036c00c1eda42fa0 /pkgs/os-specific/linux/procps-ng | |
parent | 23c73808ac87bb5701d77ba0aa3717decdeb33ac (diff) |
procps-ng: Refactor a bit
Diffstat (limited to 'pkgs/os-specific/linux/procps-ng')
-rw-r--r-- | pkgs/os-specific/linux/procps-ng/default.nix | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/pkgs/os-specific/linux/procps-ng/default.nix b/pkgs/os-specific/linux/procps-ng/default.nix index bfcb99b7e78a2..4018e65f3f726 100644 --- a/pkgs/os-specific/linux/procps-ng/default.nix +++ b/pkgs/os-specific/linux/procps-ng/default.nix @@ -1,14 +1,14 @@ -{ stdenv, fetchurl, ncurses }: +{ stdenv, fetchurl, pkgconfig, ncurses, systemd }: -stdenv.mkDerivation { - name = "procps-3.3.10"; +stdenv.mkDerivation rec { + name = "procps-ng-3.3.10"; src = fetchurl { - url = mirror://sourceforge/procps-ng/procps-ng-3.3.10.tar.xz; + url = "mirror://sourceforge/procps-ng/${name}.tar.xz"; sha256 = "013z4rzy3p5m1zp6mmynpblv0c6zlcn91pw4k2vymz2djyc6ybm0"; }; - buildInputs = [ ncurses ]; + buildInputs = [ pkgconfig ncurses systemd ]; makeFlags = "usrbin_execdir=$(out)/bin"; @@ -19,11 +19,21 @@ stdenv.mkDerivation { }; # Too red - configureFlags = [ "--disable-modern-top" ]; - - meta = { + configureFlags = [ + "--disable-modern-top" + "--enable-watch8bit" + "--with-systemd" + "--enable-skill" + "--enable-oomem" + "--enable-sigwinch" + ]; + + meta = with stdenv.lib; { homepage = http://sourceforge.net/projects/procps-ng/; description = "Utilities that give information about processes using the /proc filesystem"; priority = 10; # less than coreutils, which also provides "kill" and "uptime" + maintainers = with maintainers; [ wkennington ]; + license = licenses.gpl; + platforms = platforms.linux; }; } |