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