2007-12-11 11:47:23 +00:00
|
|
|
{stdenv, fetchurl, ncurses}:
|
|
|
|
|
2010-10-25 15:38:41 +01:00
|
|
|
assert stdenv.isLinux;
|
|
|
|
|
2009-06-15 22:43:48 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2013-12-15 23:01:08 +00:00
|
|
|
name = "psmisc-22.21";
|
2010-10-25 15:38:45 +01:00
|
|
|
|
2007-12-11 11:47:23 +00:00
|
|
|
src = fetchurl {
|
2009-06-15 22:43:48 +01:00
|
|
|
url = "mirror://sourceforge/psmisc/${name}.tar.gz";
|
2014-03-23 13:39:32 +00:00
|
|
|
sha256 = "0nhlm1vrrwn4a845p6y4nnnb4liq70n74zbdd5dq844jc6nkqclp";
|
2007-12-11 11:47:23 +00:00
|
|
|
};
|
2010-10-25 15:38:45 +01:00
|
|
|
|
2007-12-11 11:47:23 +00:00
|
|
|
buildInputs = [ncurses];
|
|
|
|
|
2014-04-27 19:15:59 +01:00
|
|
|
# From upstream, will be in next release.
|
|
|
|
patches = [ ./0001-Typo-in-fuser-makes-M-on-all-the-time.patch ];
|
|
|
|
|
2007-12-11 11:47:23 +00: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 00:22:26 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2007-12-11 11:47:23 +00:00
|
|
|
};
|
|
|
|
}
|