Merge pull request #261118 from trofi/cowpatty-parallel-fix

cowpatty: backport parallel build fix

authored by

Mario Rodas and committed by
GitHub
77ed358e 8055e679

+13
+13
pkgs/tools/security/cowpatty/default.nix
··· 2 2 , stdenv 3 3 , clang 4 4 , fetchFromGitHub 5 + , fetchpatch 5 6 , installShellFiles 6 7 , openssl 7 8 , libpcap ··· 18 19 sha256 = "0fvwwghhd7wsx0lw2dj9rdsjnirawnq3c6silzvhi0yfnzn5fs0s"; 19 20 }; 20 21 22 + patches = [ 23 + # Pull upstream fix for parallel builds: 24 + # https://github.com/joswr1ght/cowpatty/pull/5 25 + (fetchpatch { 26 + name = "fix-parallel.patch"; 27 + url = "https://github.com/joswr1ght/cowpatty/commit/9c8cc09c4fa90aebee44afcd0ad6a35539178478.patch"; 28 + hash = "sha256-k0Qht80HcjvPoxVPF6wAXwxN3d2mxBrEyeFGuU7w9eA="; 29 + }) 30 + ]; 31 + 21 32 nativeBuildInputs = [ 22 33 clang 23 34 installShellFiles ··· 27 38 openssl 28 39 libpcap 29 40 ]; 41 + 42 + enableParallelBuilding = true; 30 43 31 44 makeFlags = [ 32 45 "DESTDIR=$(out)"