nixpkgs/pkgs/os-specific/linux/psmisc/default.nix

24 lines
624 B
Nix
Raw Normal View History

{stdenv, fetchurl, ncurses}:
assert stdenv.isLinux;
stdenv.mkDerivation rec {
2013-12-15 23:01:08 +00:00
name = "psmisc-22.21";
src = fetchurl {
url = "mirror://sourceforge/psmisc/${name}.tar.gz";
sha256 = "0nhlm1vrrwn4a845p6y4nnnb4liq70n74zbdd5dq844jc6nkqclp";
};
buildInputs = [ncurses];
# From upstream, will be in next release.
patches = [ ./0001-Typo-in-fuser-makes-M-on-all-the-time.patch ];
meta = {
homepage = http://psmisc.sourceforge.net/;
description = "A set of small useful utilities that use the proc filesystem (such as fuser, killall and pstree)";
platforms = stdenv.lib.platforms.linux;
};
}