diff --git a/pkgs/by-name/gn/gnunet/package.nix b/pkgs/by-name/gn/gnunet/package.nix index a7f7dbf90f5c..106963786606 100644 --- a/pkgs/by-name/gn/gnunet/package.nix +++ b/pkgs/by-name/gn/gnunet/package.nix @@ -39,11 +39,11 @@ stdenv.mkDerivation (finalAttrs: { pname = "gnunet"; - version = "0.24.3"; + version = "0.25.0"; src = fetchurl { url = "mirror://gnu/gnunet/gnunet-${finalAttrs.version}.tar.gz"; - hash = "sha256-WwaJew6ESJu7Q4J47HPkNiRCsuBaY+QAI+wdDMzGxXY="; + hash = "sha256-LepmLuhgWUaFKvAtKAbKZP2t7cxxju72uG4LJoIsNv8="; }; enableParallelBuilding = true; @@ -94,6 +94,12 @@ stdenv.mkDerivation (finalAttrs: { # builds. find . \( -iname \*test\*.c -or -name \*.conf \) | \ xargs sed -i -e "s|/tmp|$TMPDIR|g" + + # fix error: conflicting types for `GNUNET_TESTING_cmd_{exec,finish}` + for name in exec finish; do + substituteInPlace src/lib/testing/testing_api_cmd_$name.c \ + --replace-fail 'const struct GNUNET_TESTING_Command' 'struct GNUNET_TESTING_Command' + done ''; # unfortunately, there's still a few failures with impure tests diff --git a/pkgs/by-name/li/libgnunetchat/package.nix b/pkgs/by-name/li/libgnunetchat/package.nix index f5803786bb60..01b94d9b6719 100644 --- a/pkgs/by-name/li/libgnunetchat/package.nix +++ b/pkgs/by-name/li/libgnunetchat/package.nix @@ -16,12 +16,12 @@ stdenv.mkDerivation (finalAttrs: { name = "libgnunetchat"; - version = "0.5.3"; + version = "0.6.0"; src = fetchgit { url = "https://git.gnunet.org/libgnunetchat.git"; tag = "v${finalAttrs.version}"; - hash = "sha256-DhXPYa8ya9cEbwa4btQTrpjfoTGhzBInWXXH4gmDAQw="; + hash = "sha256-pRO8i7tHynCqm97RLMBOiWKCl2CAYBE6RXfyIljIiQ0="; }; strictDeps = true; @@ -51,6 +51,7 @@ stdenv.mkDerivation (finalAttrs: { pkgConfigModules = [ "gnunetchat" ]; description = "Library for secure, decentralized chat using GNUnet network services"; homepage = "https://git.gnunet.org/libgnunetchat.git"; + changelog = "https://git.gnunet.org/libgnunetchat.git/plain/ChangeLog?h=v${finalAttrs.version}"; license = lib.licenses.gpl3Plus; platforms = lib.platforms.all; teams = with lib.teams; [ ngi ];