2019-09-21 04:39:40 +02:00
|
|
|
{ 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
|
|
|
|
}:
|
2016-09-18 21:35:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "epiphany";
|
2019-10-07 07:51:12 +02:00
|
|
|
version = "3.34.1";
|
2018-02-25 21:07:20 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 14:41:18 +02:00
|
|
|
url = "mirror://gnome/sources/epiphany/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-10-07 07:51:12 +02:00
|
|
|
sha256 = "1nf1pqv3pdgrlq7fbic06rl3731dx5ihpfsphpai9grcmnbwjyx0";
|
2018-02-25 21:07:20 +01:00
|
|
|
};
|
|
|
|
|
2016-09-18 21:35:23 +02:00
|
|
|
# Tests need an X display
|
2019-09-21 04:39:40 +02:00
|
|
|
mesonFlags = [
|
|
|
|
"-Dunit_tests=disabled"
|
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-22 15:40:21 +01:00
|
|
|
nativeBuildInputs = [
|
2019-09-21 04:39:40 +02:00
|
|
|
desktop-file-utils
|
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
libxslt
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkgconfig
|
|
|
|
python3
|
|
|
|
wrapGAppsHook
|
2018-03-22 15:40:21 +01:00
|
|
|
];
|
2016-09-18 21:35:23 +02:00
|
|
|
|
2018-03-22 15:40:21 +01:00
|
|
|
buildInputs = [
|
2019-09-21 04:39:40 +02:00
|
|
|
gcr
|
|
|
|
gdk-pixbuf
|
|
|
|
glib
|
|
|
|
glib-networking
|
|
|
|
gnome-desktop
|
|
|
|
gnome3.adwaita-icon-theme
|
|
|
|
gst_all_1.gst-libav
|
|
|
|
gst_all_1.gst-plugins-bad
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-good
|
|
|
|
gst_all_1.gst-plugins-ugly
|
|
|
|
gst_all_1.gstreamer
|
|
|
|
gtk3
|
|
|
|
icu
|
|
|
|
isocodes
|
|
|
|
json-glib
|
|
|
|
libdazzle
|
|
|
|
libhandy
|
|
|
|
libnotify
|
|
|
|
libsecret
|
|
|
|
libsoup
|
|
|
|
libxml2
|
|
|
|
nettle
|
|
|
|
p11-kit
|
|
|
|
sqlite
|
|
|
|
webkitgtk
|
2018-03-22 15:40:21 +01:00
|
|
|
];
|
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 {
|
2019-09-21 04:39:40 +02:00
|
|
|
packageName = pname;
|
2018-03-22 15:40:21 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|