11 stdenv.mkDerivation rec {
15 src = fetchFromGitLab {
19 hash = "sha256-49YpdIh0DxLHfxos4sw1HUkV0XQBqmm4M9b0T4eN2xI=";
27 buildInputs = [ ncurses ];
30 lib.optionalString (stdenv.buildPlatform != stdenv.hostPlatform) ''
31 # Goes past the rpl_malloc linking failure
32 export ac_cv_func_malloc_0_nonnull=yes
33 export ac_cv_func_realloc_0_nonnull=yes
36 echo $version > .tarball-version
41 homepage = "https://gitlab.com/psmisc/psmisc";
42 description = "Set of small useful utilities that use the proc filesystem (such as fuser, killall and pstree)";
43 platforms = platforms.linux;
44 license = licenses.gpl2Plus;
45 maintainers = with maintainers; [ ryantm ];