Unverified Commit c46a3cc1 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

gnunet: 0.24.3 -> 0.25.0; libgnunetchat: 0.5.3 -> 0.6.0 (#443966)

parents d5367475 134e00e0
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -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
+3 −2
Original line number Diff line number Diff line
@@ -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 ];