|
|
|
@ -1,4 +1,4 @@ |
|
|
|
|
{ lib, stdenv, fetchFromGitHub, bash, coreutils, gdb, zlib }: |
|
|
|
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, bash, coreutils, gdb, zlib }: |
|
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec { |
|
|
|
|
pname = "procdump"; |
|
|
|
@ -11,6 +11,16 @@ stdenv.mkDerivation rec { |
|
|
|
|
sha256 = "sha256-gVswAezHl7E2cBTJEQhPFXhHkzhWVHSpPF8m0s8+ekc="; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
patches = [ |
|
|
|
|
# Pull upstream patch to fix parallel builds: |
|
|
|
|
# https://github.com/Sysinternals/ProcDump-for-Linux/pull/133 |
|
|
|
|
(fetchpatch { |
|
|
|
|
name = "parallel.patch"; |
|
|
|
|
url = "https://github.com/Sysinternals/ProcDump-for-Linux/commit/0d735836f11281cc6134be93eac8acb302f2055e.patch"; |
|
|
|
|
sha256 = "sha256-zsqllPHF8ZuXAIDSAPvbzdKa43uSSx9ilUKM1vFVW90="; |
|
|
|
|
}) |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
nativeBuildInputs = [ zlib ]; |
|
|
|
|
buildInputs = [ bash coreutils gdb ]; |
|
|
|
|
|
|
|
|
@ -27,6 +37,8 @@ stdenv.mkDerivation rec { |
|
|
|
|
"MANDIR=/share/man/man1" |
|
|
|
|
]; |
|
|
|
|
|
|
|
|
|
enableParallelBuilding = true; |
|
|
|
|
|
|
|
|
|
doCheck = false; # needs sudo root |
|
|
|
|
|
|
|
|
|
doInstallCheck = true; |
|
|
|
|