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";
|
2022-01-07 14:40:12 +00:00
|
|
|
version = "0.15.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";
|
2022-01-07 14:40:12 +00:00
|
|
|
sha256 = "sha256-FLLlqpQ7Bf+oNRUvx7IniVxFusy/tPYxEP2T6VGF7h8=";
|
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";
|
|
|
|
};
|
|
|
|
}
|