gnunet: 0.24.3 -> 0.25.0

authored by R. Ryantm and committed by eljamm 07353187 520f41d0

+8 -2
+8 -2
pkgs/by-name/gn/gnunet/package.nix
··· 39 40 stdenv.mkDerivation (finalAttrs: { 41 pname = "gnunet"; 42 - version = "0.24.3"; 43 44 src = fetchurl { 45 url = "mirror://gnu/gnunet/gnunet-${finalAttrs.version}.tar.gz"; 46 - hash = "sha256-WwaJew6ESJu7Q4J47HPkNiRCsuBaY+QAI+wdDMzGxXY="; 47 }; 48 49 enableParallelBuilding = true; ··· 94 # builds. 95 find . \( -iname \*test\*.c -or -name \*.conf \) | \ 96 xargs sed -i -e "s|/tmp|$TMPDIR|g" 97 ''; 98 99 # unfortunately, there's still a few failures with impure tests
··· 39 40 stdenv.mkDerivation (finalAttrs: { 41 pname = "gnunet"; 42 + version = "0.25.0"; 43 44 src = fetchurl { 45 url = "mirror://gnu/gnunet/gnunet-${finalAttrs.version}.tar.gz"; 46 + hash = "sha256-LepmLuhgWUaFKvAtKAbKZP2t7cxxju72uG4LJoIsNv8="; 47 }; 48 49 enableParallelBuilding = true; ··· 94 # builds. 95 find . \( -iname \*test\*.c -or -name \*.conf \) | \ 96 xargs sed -i -e "s|/tmp|$TMPDIR|g" 97 + 98 + # fix error: conflicting types for `GNUNET_TESTING_cmd_{exec,finish}` 99 + for name in exec finish; do 100 + substituteInPlace src/lib/testing/testing_api_cmd_$name.c \ 101 + --replace-fail 'const struct GNUNET_TESTING_Command' 'struct GNUNET_TESTING_Command' 102 + done 103 ''; 104 105 # unfortunately, there's still a few failures with impure tests