summary refs log tree commit diff
path: root/pkgs/os-specific/linux/procps-ng
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-01-23 17:12:20 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-01-23 17:12:20 +0100
commit5ebaaeb7f3e7c3214ba75a7c02854a5c2ce1c2e0 (patch)
tree4f4bbc4ee1a6a7bf4ee6fca43b848321e408cebd /pkgs/os-specific/linux/procps-ng
parentabf2ea216ad32fec88147b0385efba4498910d5e (diff)
downloadnixpkgs-5ebaaeb7f3e7c3214ba75a7c02854a5c2ce1c2e0.tar
nixpkgs-5ebaaeb7f3e7c3214ba75a7c02854a5c2ce1c2e0.tar.gz
nixpkgs-5ebaaeb7f3e7c3214ba75a7c02854a5c2ce1c2e0.tar.bz2
nixpkgs-5ebaaeb7f3e7c3214ba75a7c02854a5c2ce1c2e0.tar.lz
nixpkgs-5ebaaeb7f3e7c3214ba75a7c02854a5c2ce1c2e0.tar.xz
nixpkgs-5ebaaeb7f3e7c3214ba75a7c02854a5c2ce1c2e0.tar.zst
nixpkgs-5ebaaeb7f3e7c3214ba75a7c02854a5c2ce1c2e0.zip
procps-ng: Add
This will replace procps eventually.
Diffstat (limited to 'pkgs/os-specific/linux/procps-ng')
-rw-r--r--pkgs/os-specific/linux/procps-ng/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/procps-ng/default.nix b/pkgs/os-specific/linux/procps-ng/default.nix
new file mode 100644
index 00000000000..6099505f1d6
--- /dev/null
+++ b/pkgs/os-specific/linux/procps-ng/default.nix
@@ -0,0 +1,26 @@
+{ stdenv, fetchurl, ncurses }:
+
+stdenv.mkDerivation {
+  name = "procps-ng-3.3.6";
+
+  src = fetchurl {
+    url = mirror://sourceforge/procps-ng/procps-ng-3.3.6.tar.xz;
+    sha256 = "0k0j3ilzfpw8n3y058ymgfmafdfqqqwpqm7nh7a35xlk6zgw96nh";
+  };
+
+  buildInputs = [ ncurses ];
+
+  makeFlags = "usrbin_execdir=$(out)/bin";
+
+  enableParallelBuilding = true;
+
+  crossAttrs = {
+    CC = stdenv.cross.config + "-gcc";
+  };
+
+  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"
+  };
+}