2017-10-04 23:50:14 +02:00
|
|
|
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig, gtk, glib, icu
|
|
|
|
, wrapGAppsHook, gnome3, libxml2, libxslt, itstool
|
2018-02-25 03:23:58 +01:00
|
|
|
, webkitgtk, libsoup, glib-networking, libsecret, gnome-desktop, libnotify, p11-kit
|
2018-03-22 15:40:21 +01:00
|
|
|
, sqlite, gcr, isocodes, desktop-file-utils
|
|
|
|
, gdk_pixbuf, gst_all_1, json-glib }:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 21:07:20 +01:00
|
|
|
name = "epiphany-${version}";
|
2018-06-13 17:58:34 +02:00
|
|
|
version = "3.28.3.1";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/epiphany/${gnome3.versionBranch version}/${name}.tar.xz";
|
2018-06-13 17:58:34 +02:00
|
|
|
sha256 = "1xz6xl6b0iihvczyr0cs1z5ifvpai6anb4m0ng1caiph06klc1b9";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
# Tests need an X display
|
2017-10-04 23:50:14 +02:00
|
|
|
mesonFlags = [ "-Dunit_tests=false" ];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-22 15:40:21 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
meson ninja libxslt pkgconfig itstool gettext wrapGAppsHook desktop-file-utils
|
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-22 15:40:21 +01:00
|
|
|
buildInputs = [
|
|
|
|
gtk glib webkitgtk libsoup libxml2 libsecret gnome-desktop libnotify
|
|
|
|
sqlite isocodes p11-kit icu
|
|
|
|
gdk_pixbuf gnome3.defaultIconTheme 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
|
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2017-10-04 23:50:14 +02:00
|
|
|
postPatch = ''
|
|
|
|
chmod +x post_install.py # patchShebangs requires executable file
|
|
|
|
patchShebangs post_install.py
|
|
|
|
'';
|
|
|
|
|
2018-03-22 15:40:21 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = "epiphany";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|