summary refs log tree commit diff
path: root/pkgs/os-specific/linux/procps-ng/default.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-19 14:13:25 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-06-19 14:14:52 +0200
commitfef61416624724600b74cf7dc30f16e5fce959e6 (patch)
treef20a0f2c9c9304ace741cc80ee7f27553f42c36c /pkgs/os-specific/linux/procps-ng/default.nix
parentd8c9fa5043da74e93fd44a3375a6d8e1d9056ded (diff)
downloadnixlib-fef61416624724600b74cf7dc30f16e5fce959e6.tar
nixlib-fef61416624724600b74cf7dc30f16e5fce959e6.tar.gz
nixlib-fef61416624724600b74cf7dc30f16e5fce959e6.tar.bz2
nixlib-fef61416624724600b74cf7dc30f16e5fce959e6.tar.lz
nixlib-fef61416624724600b74cf7dc30f16e5fce959e6.tar.xz
nixlib-fef61416624724600b74cf7dc30f16e5fce959e6.tar.zst
nixlib-fef61416624724600b74cf7dc30f16e5fce959e6.zip
Revert "procps-ng: Refactor a bit"
This reverts commit dceff137e107fdbcf13b0d645be48e3cc4256d7f. It was
described as a "refactoring", but actually made procps depend on
systemd (which is a heavy dependency) and changed the name of the
package.
Diffstat (limited to 'pkgs/os-specific/linux/procps-ng/default.nix')
-rw-r--r--pkgs/os-specific/linux/procps-ng/default.nix28
1 files changed, 10 insertions, 18 deletions
diff --git a/pkgs/os-specific/linux/procps-ng/default.nix b/pkgs/os-specific/linux/procps-ng/default.nix
index 9ecc0c5bcb57..7a810e9fff97 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, pkgconfig, ncurses, systemd }:
+{ lib, stdenv, fetchurl, ncurses }:
 
-stdenv.mkDerivation rec {
-  name = "procps-ng-3.3.10";
+stdenv.mkDerivation {
+  name = "procps-3.3.10";
 
   src = fetchurl {
-    url = "mirror://sourceforge/procps-ng/${name}.tar.xz";
+    url = mirror://sourceforge/procps-ng/procps-ng-3.3.10.tar.xz;
     sha256 = "013z4rzy3p5m1zp6mmynpblv0c6zlcn91pw4k2vymz2djyc6ybm0";
   };
 
-  buildInputs = [ pkgconfig ncurses systemd ];
+  buildInputs = [ ncurses ];
 
   makeFlags = "usrbin_execdir=$(out)/bin";
 
@@ -19,21 +19,13 @@ stdenv.mkDerivation rec {
   };
 
   # Too red
-  configureFlags = [
-    "--disable-modern-top"
-    "--enable-watch8bit"
-    "--with-systemd"
-    "--enable-skill"
-    "--enable-oomem"
-    "--enable-sigwinch"
-  ];
-
-  meta = with stdenv.lib; {
+  configureFlags = [ "--disable-modern-top" ];
+
+  meta = {
     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.gpl2;
-    platforms = platforms.linux;
+    license = lib.licenses.gpl2;
+    platforms = lib.platforms.linux;
   };
 }