1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00
nixpkgs/pkgs/os-specific/linux/psmisc/default.nix

24 lines
624 B
Nix

{stdenv, fetchurl, ncurses}:
assert stdenv.isLinux;
stdenv.mkDerivation rec {
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;
};
}