nixpkgs/pkgs/applications/networking/p2p/gnunet/gtk.nix
2020-08-16 13:07:27 +00:00

44 lines
725 B
Nix

{ stdenv, fetchurl
, gnome3
, gnunet
, gnutls
, gtk3
, libextractor
, libgcrypt
, libxml2
, pkg-config
, wrapGAppsHook
}:
stdenv.mkDerivation rec {
pname = "gnunet-gtk";
version = "0.13.1";
src = fetchurl {
url = "mirror://gnu/gnunet/${pname}-${version}.tar.gz";
sha256 = "1zdzgq16h77w6ybwg3lqjsjr965np6iqvncqvkbj07glqd4wss0j";
};
nativeBuildInputs= [
pkg-config
wrapGAppsHook
];
buildInputs = [
gnome3.glade
gnunet
gnutls
gtk3
libextractor
libgcrypt
libxml2
];
patchPhase = "patchShebangs pixmaps/icon-theme-installer";
meta = gnunet.meta // {
description = "GNUnet GTK User Interface";
homepage = "https://git.gnunet.org/gnunet-gtk.git";
};
}