forked from mirrors/nixpkgs
procps-ng: Refactor a bit
This commit is contained in:
parent
23c73808ac
commit
dceff137e1
|
@ -1,14 +1,14 @@
|
||||||
{ stdenv, fetchurl, ncurses }:
|
{ stdenv, fetchurl, pkgconfig, ncurses, systemd }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "procps-3.3.10";
|
name = "procps-ng-3.3.10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://sourceforge/procps-ng/procps-ng-3.3.10.tar.xz;
|
url = "mirror://sourceforge/procps-ng/${name}.tar.xz";
|
||||||
sha256 = "013z4rzy3p5m1zp6mmynpblv0c6zlcn91pw4k2vymz2djyc6ybm0";
|
sha256 = "013z4rzy3p5m1zp6mmynpblv0c6zlcn91pw4k2vymz2djyc6ybm0";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ ncurses ];
|
buildInputs = [ pkgconfig ncurses systemd ];
|
||||||
|
|
||||||
makeFlags = "usrbin_execdir=$(out)/bin";
|
makeFlags = "usrbin_execdir=$(out)/bin";
|
||||||
|
|
||||||
|
@ -19,11 +19,21 @@ stdenv.mkDerivation {
|
||||||
};
|
};
|
||||||
|
|
||||||
# Too red
|
# Too red
|
||||||
configureFlags = [ "--disable-modern-top" ];
|
configureFlags = [
|
||||||
|
"--disable-modern-top"
|
||||||
|
"--enable-watch8bit"
|
||||||
|
"--with-systemd"
|
||||||
|
"--enable-skill"
|
||||||
|
"--enable-oomem"
|
||||||
|
"--enable-sigwinch"
|
||||||
|
];
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
homepage = http://sourceforge.net/projects/procps-ng/;
|
homepage = http://sourceforge.net/projects/procps-ng/;
|
||||||
description = "Utilities that give information about processes using the /proc filesystem";
|
description = "Utilities that give information about processes using the /proc filesystem";
|
||||||
priority = 10; # less than coreutils, which also provides "kill" and "uptime"
|
priority = 10; # less than coreutils, which also provides "kill" and "uptime"
|
||||||
|
maintainers = with maintainers; [ wkennington ];
|
||||||
|
license = licenses.gpl;
|
||||||
|
platforms = platforms.linux;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue