2019-02-13 21:47:50 +00:00
|
|
|
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig, gtk3, glib, icu
|
2017-10-04 22:50:14 +01:00
|
|
|
, 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
|
2019-05-22 12:03:39 +01:00
|
|
|
, gdk-pixbuf, gst_all_1, json-glib, libdazzle, libhandy }:
|
2016-09-18 20:35:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-02-25 20:07:20 +00:00
|
|
|
name = "epiphany-${version}";
|
2019-08-04 06:26:24 +01:00
|
|
|
version = "3.32.4";
|
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";
|
2019-08-04 06:26:24 +01:00
|
|
|
sha256 = "15d9s295yr6m9pbwh344c4akm7rgn19y4g1xkyn7gbq1hdbjia69";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2016-09-18 20:35:23 +01:00
|
|
|
# Tests need an X display
|
2019-03-03 18:16:37 +00:00
|
|
|
mesonFlags = [ "-Dunit_tests=disabled" ];
|
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 = [
|
2019-02-13 21:47:50 +00:00
|
|
|
gtk3 glib webkitgtk libsoup libxml2 libsecret gnome-desktop libnotify
|
2019-03-03 18:16:37 +00:00
|
|
|
sqlite isocodes p11-kit icu libhandy
|
2019-05-22 12:03:39 +01:00
|
|
|
gdk-pixbuf gnome3.adwaita-icon-theme gcr
|
2018-03-22 14:40:21 +00:00
|
|
|
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
|
2018-09-05 01:43:17 +01:00
|
|
|
gst_all_1.gst-libav json-glib libdazzle
|
2018-03-22 14:40:21 +00:00
|
|
|
];
|
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;
|
|
|
|
};
|
|
|
|
}
|