at 16.09-beta 23 lines 624 B view raw
1{stdenv, fetchurl, ncurses}: 2 3assert stdenv.isLinux; 4 5stdenv.mkDerivation rec { 6 name = "psmisc-22.21"; 7 8 src = fetchurl { 9 url = "mirror://sourceforge/psmisc/${name}.tar.gz"; 10 sha256 = "0nhlm1vrrwn4a845p6y4nnnb4liq70n74zbdd5dq844jc6nkqclp"; 11 }; 12 13 buildInputs = [ncurses]; 14 15 # From upstream, will be in next release. 16 patches = [ ./0001-Typo-in-fuser-makes-M-on-all-the-time.patch ]; 17 18 meta = { 19 homepage = http://psmisc.sourceforge.net/; 20 description = "A set of small useful utilities that use the proc filesystem (such as fuser, killall and pstree)"; 21 platforms = stdenv.lib.platforms.linux; 22 }; 23}