2020-08-05 00:50:23 +02:00
|
|
|
{ stdenv, fetchurl
|
2021-03-16 18:33:18 +01:00
|
|
|
, glade
|
2020-08-05 00:50:23 +02:00
|
|
|
, gnunet
|
|
|
|
, gnutls
|
|
|
|
, gtk3
|
|
|
|
, libextractor
|
|
|
|
, libgcrypt
|
2021-01-23 17:53:29 +01:00
|
|
|
, libsodium
|
2020-08-05 00:50:23 +02:00
|
|
|
, libxml2
|
|
|
|
, pkg-config
|
|
|
|
, wrapGAppsHook
|
|
|
|
}:
|
2020-01-16 15:09:26 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "gnunet-gtk";
|
2021-01-23 17:53:29 +01:00
|
|
|
version = "0.14.0";
|
2020-01-16 15:09:26 +01:00
|
|
|
|
2020-08-05 00:50:23 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnu/gnunet/${pname}-${version}.tar.gz";
|
2021-01-23 17:53:29 +01:00
|
|
|
sha256 = "18rc7mb45y17d5nrlpf2p4ixp7ir67gcgjf4hlj4r95ic5zi54wa";
|
2020-01-16 15:09:26 +01:00
|
|
|
};
|
|
|
|
|
2020-08-05 00:50:23 +02:00
|
|
|
nativeBuildInputs= [
|
|
|
|
pkg-config
|
|
|
|
wrapGAppsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
2021-03-16 18:33:18 +01:00
|
|
|
glade
|
2020-08-05 00:50:23 +02:00
|
|
|
gnunet
|
|
|
|
gnutls
|
|
|
|
gtk3
|
|
|
|
libextractor
|
|
|
|
libgcrypt
|
2021-01-23 17:53:29 +01:00
|
|
|
libsodium
|
2020-08-05 00:50:23 +02:00
|
|
|
libxml2
|
|
|
|
];
|
2020-01-16 15:09:26 +01:00
|
|
|
|
2021-01-23 17:53:29 +01:00
|
|
|
configureFlags = [ "--with-gnunet=${gnunet}" ];
|
|
|
|
|
2020-01-16 15:09:26 +01:00
|
|
|
patchPhase = "patchShebangs pixmaps/icon-theme-installer";
|
|
|
|
|
2020-08-05 00:50:23 +02:00
|
|
|
meta = gnunet.meta // {
|
2020-01-16 15:09:26 +01:00
|
|
|
description = "GNUnet GTK User Interface";
|
|
|
|
homepage = "https://git.gnunet.org/gnunet-gtk.git";
|
|
|
|
};
|
|
|
|
}
|