diff --git a/pkgs/applications/networking/p2p/gnunet-gtk/default.nix b/pkgs/applications/networking/p2p/gnunet-gtk/default.nix new file mode 100644 index 0000000000000..6a2b84dbb3d61 --- /dev/null +++ b/pkgs/applications/networking/p2p/gnunet-gtk/default.nix @@ -0,0 +1,28 @@ +{ stdenv, fetchgit, pkgconfig +, autoreconfHook, wrapGAppsHook +, libgcrypt, libextractor, libxml2 +, gnome3, gnunet, gnutls, gtk3 }: + +stdenv.mkDerivation rec { + pname = "gnunet-gtk"; + version = "0.12.0"; + + src = fetchgit { + url = "https://git.gnunet.org/gnunet-gtk.git"; + rev = "v${version}"; + sha256 = "1ccasng1b4bj0kqhbfhiv0j1gnc4v2ka5f7wxvka3iwp90g7rax6"; + }; + + nativeBuildInputs= [ autoreconfHook wrapGAppsHook pkgconfig ]; + buildInputs = [ libgcrypt libextractor libxml2 gnunet gnome3.glade gnutls gtk3 ]; + + patchPhase = "patchShebangs pixmaps/icon-theme-installer"; + + meta = with stdenv.lib; { + 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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 6752e38ab949d..29a3ce3757d7c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20354,6 +20354,8 @@ in gnunet_git = lowPrio (callPackage ../applications/networking/p2p/gnunet/git.nix { }); + gnunet-gtk = callPackage ../applications/networking/p2p/gnunet-gtk { }; + gocr = callPackage ../applications/graphics/gocr { }; gobby5 = callPackage ../applications/editors/gobby { };