00d419c362
Looks like something used to propagate nettle but doesn't anymore. Adding it properly, as it does depend on it, fixes the issue.
51 lines
1.6 KiB
Nix
51 lines
1.6 KiB
Nix
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig, gtk3, glib, icu
|
|
, wrapGAppsHook, gnome3, libxml2, libxslt, itstool
|
|
, webkitgtk, libsoup, glib-networking, libsecret, gnome-desktop, libnotify, p11-kit
|
|
, sqlite, gcr, isocodes, desktop-file-utils, python3, nettle
|
|
, gdk-pixbuf, gst_all_1, json-glib, libdazzle, libhandy }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "epiphany";
|
|
version = "3.32.4";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://gnome/sources/epiphany/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
|
sha256 = "15d9s295yr6m9pbwh344c4akm7rgn19y4g1xkyn7gbq1hdbjia69";
|
|
};
|
|
|
|
# Tests need an X display
|
|
mesonFlags = [ "-Dunit_tests=disabled" ];
|
|
|
|
nativeBuildInputs = [
|
|
meson ninja libxslt pkgconfig itstool gettext wrapGAppsHook desktop-file-utils python3
|
|
];
|
|
|
|
buildInputs = [
|
|
gtk3 glib webkitgtk libsoup libxml2 libsecret gnome-desktop libnotify
|
|
sqlite isocodes p11-kit icu libhandy
|
|
gdk-pixbuf gnome3.adwaita-icon-theme gcr
|
|
glib-networking gst_all_1.gstreamer gst_all_1.gst-plugins-base
|
|
gst_all_1.gst-plugins-good gst_all_1.gst-plugins-bad gst_all_1.gst-plugins-ugly
|
|
gst_all_1.gst-libav json-glib libdazzle nettle
|
|
];
|
|
|
|
postPatch = ''
|
|
chmod +x post_install.py # patchShebangs requires executable file
|
|
patchShebangs post_install.py
|
|
'';
|
|
|
|
passthru = {
|
|
updateScript = gnome3.updateScript {
|
|
packageName = "epiphany";
|
|
};
|
|
};
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://wiki.gnome.org/Apps/Epiphany;
|
|
description = "WebKit based web browser for GNOME";
|
|
maintainers = gnome3.maintainers;
|
|
license = licenses.gpl2;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|