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