2007-12-11 14:47:23 +03:00
|
|
|
{stdenv, fetchurl, ncurses}:
|
|
|
|
|
2010-10-25 18:38:41 +04:00
|
|
|
assert stdenv.isLinux;
|
|
|
|
|
2009-06-16 01:43:48 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-16 03:01:08 +04:00
|
|
|
name = "psmisc-22.21";
|
2010-10-25 18:38:45 +04:00
|
|
|
|
2007-12-11 14:47:23 +03:00
|
|
|
src = fetchurl {
|
2009-06-16 01:43:48 +04:00
|
|
|
url = "mirror://sourceforge/psmisc/${name}.tar.gz";
|
2014-03-23 17:39:32 +04:00
|
|
|
sha256 = "0nhlm1vrrwn4a845p6y4nnnb4liq70n74zbdd5dq844jc6nkqclp";
|
2007-12-11 14:47:23 +03:00
|
|
|
};
|
2010-10-25 18:38:45 +04:00
|
|
|
|
2007-12-11 14:47:23 +03:00
|
|
|
buildInputs = [ncurses];
|
|
|
|
|
2014-04-27 22:15:59 +04:00
|
|
|
# From upstream, will be in next release.
|
|
|
|
patches = [ ./0001-Typo-in-fuser-makes-M-on-all-the-time.patch ];
|
|
|
|
|
2007-12-11 14:47:23 +03:00
|
|
|
meta = {
|
|
|
|
homepage = http://psmisc.sourceforge.net/;
|
|
|
|
description = "A set of small useful utilities that use the proc filesystem (such as fuser, killall and pstree)";
|
2010-08-30 03:22:26 +04:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2007-12-11 14:47:23 +03:00
|
|
|
};
|
|
|
|
}
|