diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2020-08-04 15:50:23 -0700 |
---|---|---|
committer | Jonathan Ringer <jonringer117@gmail.com> | 2020-08-05 09:49:43 -0700 |
commit | 779e358780fe5aff9b53af643739ae42859fb029 (patch) | |
tree | 09eae84ee6ea7be6e27be9da87e35aff99243c99 /pkgs/applications/networking/p2p | |
parent | 3d31c28cedc9ec3aef9d72cf0a509f1dafc8142c (diff) |
gnunet-gtk: 0.12.0 -> 0.13.1
Diffstat (limited to 'pkgs/applications/networking/p2p')
-rw-r--r-- | pkgs/applications/networking/p2p/gnunet/gtk.nix | 45 |
1 files changed, 30 insertions, 15 deletions
diff --git a/pkgs/applications/networking/p2p/gnunet/gtk.nix b/pkgs/applications/networking/p2p/gnunet/gtk.nix index 6a2b84dbb3d61..d7c15889fec73 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; }; } |