From 080472b6bfbfabd5367af88ff748dd3be545856d Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 4 Aug 2020 15:46:25 -0700 Subject: [PATCH 1/3] gnunet-gtk: move under gnunet directory --- .../networking/p2p/{gnunet-gtk/default.nix => gnunet/gtk.nix} | 0 pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename pkgs/applications/networking/p2p/{gnunet-gtk/default.nix => gnunet/gtk.nix} (100%) diff --git a/pkgs/applications/networking/p2p/gnunet-gtk/default.nix b/pkgs/applications/networking/p2p/gnunet/gtk.nix similarity index 100% rename from pkgs/applications/networking/p2p/gnunet-gtk/default.nix rename to pkgs/applications/networking/p2p/gnunet/gtk.nix diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 29a3ce3757d..e9f198cb60d 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20354,7 +20354,7 @@ in gnunet_git = lowPrio (callPackage ../applications/networking/p2p/gnunet/git.nix { }); - gnunet-gtk = callPackage ../applications/networking/p2p/gnunet-gtk { }; + gnunet-gtk = callPackage ../applications/networking/p2p/gnunet/gtk.nix { }; gocr = callPackage ../applications/graphics/gocr { }; From 3d31c28cedc9ec3aef9d72cf0a509f1dafc8142c Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 4 Aug 2020 15:48:46 -0700 Subject: [PATCH 2/3] gnunet: 0.12.2 -> 0.13.1 --- pkgs/applications/networking/p2p/gnunet/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/p2p/gnunet/default.nix b/pkgs/applications/networking/p2p/gnunet/default.nix index 6771e6cbc45..23a0c76026c 100644 --- a/pkgs/applications/networking/p2p/gnunet/default.nix +++ b/pkgs/applications/networking/p2p/gnunet/default.nix @@ -1,15 +1,15 @@ { stdenv, fetchurl, adns, curl, gettext, gmp, gnutls, libextractor , libgcrypt, libgnurl, libidn, libmicrohttpd, libtool, libunistring , makeWrapper, ncurses, pkgconfig, libxml2, sqlite, zlib -, libpulseaudio, libopus, libogg, jansson }: +, libpulseaudio, libopus, libogg, jansson, libsodium }: stdenv.mkDerivation rec { pname = "gnunet"; - version = "0.12.2"; + version = "0.13.1"; src = fetchurl { url = "mirror://gnu/gnunet/${pname}-${version}.tar.gz"; - sha256 = "1mwcy7fj1rpd39w7j7k3jdwlil5s889b2qlhfdggqmhigl28na5c"; + sha256 = "15jnca5zxng7r6m3qzq9lr73xxq0v6mvcp0lny3zrlkz5s2nmmq3"; }; enableParallelBuilding = true; @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig libtool makeWrapper ]; buildInputs = [ adns curl gmp gnutls libextractor libgcrypt libgnurl libidn - libmicrohttpd libunistring libxml2 ncurses gettext + libmicrohttpd libunistring libxml2 ncurses gettext libsodium sqlite zlib libpulseaudio libopus libogg jansson ]; @@ -66,7 +66,7 @@ stdenv.mkDerivation rec { homepage = "https://gnunet.org/"; license = licenses.agpl3Plus; - maintainers = with maintainers; [ vrthra ]; + maintainers = with maintainers; [ pstn vrthra ]; platforms = platforms.gnu ++ platforms.linux; }; } From 779e358780fe5aff9b53af643739ae42859fb029 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Tue, 4 Aug 2020 15:50:23 -0700 Subject: [PATCH 3/3] gnunet-gtk: 0.12.0 -> 0.13.1 --- .../networking/p2p/gnunet/gtk.nix | 45 ++++++++++++------- 1 file changed, 30 insertions(+), 15 deletions(-) diff --git a/pkgs/applications/networking/p2p/gnunet/gtk.nix b/pkgs/applications/networking/p2p/gnunet/gtk.nix index 6a2b84dbb3d..d7c15889fec 100644 --- a/pkgs/applications/networking/p2p/gnunet/gtk.nix +++ b/pkgs/applications/networking/p2p/gnunet/gtk.nix @@ -1,28 +1,43 @@ -{ stdenv, fetchgit, pkgconfig -, autoreconfHook, wrapGAppsHook -, libgcrypt, libextractor, libxml2 -, gnome3, gnunet, gnutls, gtk3 }: +{ stdenv, fetchurl +, gnome3 +, gnunet +, gnutls +, gtk3 +, libextractor +, libgcrypt +, libxml2 +, pkg-config +, wrapGAppsHook +}: stdenv.mkDerivation rec { pname = "gnunet-gtk"; - version = "0.12.0"; + inherit (gnunet) version; - src = fetchgit { - url = "https://git.gnunet.org/gnunet-gtk.git"; - rev = "v${version}"; - sha256 = "1ccasng1b4bj0kqhbfhiv0j1gnc4v2ka5f7wxvka3iwp90g7rax6"; + src = fetchurl { + url = "mirror://gnu/gnunet/${pname}-${version}.tar.gz"; + sha256 = "1zdzgq16h77w6ybwg3lqjsjr965np6iqvncqvkbj07glqd4wss0j"; }; - nativeBuildInputs= [ autoreconfHook wrapGAppsHook pkgconfig ]; - buildInputs = [ libgcrypt libextractor libxml2 gnunet gnome3.glade gnutls gtk3 ]; + nativeBuildInputs= [ + pkg-config + wrapGAppsHook + ]; + + buildInputs = [ + gnome3.glade + gnunet + gnutls + gtk3 + libextractor + libgcrypt + libxml2 + ]; patchPhase = "patchShebangs pixmaps/icon-theme-installer"; - meta = with stdenv.lib; { + meta = gnunet.meta // { description = "GNUnet GTK User Interface"; homepage = "https://git.gnunet.org/gnunet-gtk.git"; - license = licenses.gpl3Plus; - maintainers = with maintainers; [ pstn ]; - platforms = platforms.gnu ++ platforms.linux; }; }