2021-12-17 11:53:13 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2019-09-21 02:39:40 +00:00
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, gettext
|
|
|
|
, fetchurl
|
2021-01-17 02:21:50 +00:00
|
|
|
, pkg-config
|
2023-02-25 03:00:23 +00:00
|
|
|
, gtk4
|
2019-09-21 02:39:40 +00:00
|
|
|
, glib
|
|
|
|
, icu
|
2023-02-25 03:00:23 +00:00
|
|
|
, wrapGAppsHook4
|
2021-05-07 21:18:14 +00:00
|
|
|
, gnome
|
2023-02-25 03:00:23 +00:00
|
|
|
, libportal-gtk4
|
2019-09-21 02:39:40 +00:00
|
|
|
, libxml2
|
|
|
|
, itstool
|
2023-02-25 03:00:23 +00:00
|
|
|
, webkitgtk_6_0
|
2022-07-23 15:44:39 +00:00
|
|
|
, libsoup_3
|
2019-09-21 02:39:40 +00:00
|
|
|
, glib-networking
|
|
|
|
, libsecret
|
|
|
|
, gnome-desktop
|
2021-03-21 05:15:45 +00:00
|
|
|
, libarchive
|
2019-09-21 02:39:40 +00:00
|
|
|
, p11-kit
|
|
|
|
, sqlite
|
2023-02-25 03:00:23 +00:00
|
|
|
, gcr_4
|
2019-09-21 02:39:40 +00:00
|
|
|
, isocodes
|
|
|
|
, desktop-file-utils
|
|
|
|
, nettle
|
|
|
|
, gdk-pixbuf
|
|
|
|
, gst_all_1
|
|
|
|
, json-glib
|
2023-02-25 03:00:23 +00:00
|
|
|
, libadwaita
|
2020-02-26 22:11:17 +00:00
|
|
|
, buildPackages
|
2021-08-13 13:46:21 +00:00
|
|
|
, withPantheon ? false
|
2023-03-04 09:11:30 +00:00
|
|
|
, pantheon
|
2019-09-21 02:39:40 +00:00
|
|
|
}:
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2024-06-01 08:12:39 +00:00
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "epiphany";
|
2024-10-31 12:26:18 +00:00
|
|
|
version = "47.2";
|
2018-02-25 20:07:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-06-01 08:12:39 +00:00
|
|
|
url = "mirror://gnome/sources/epiphany/${lib.versions.major finalAttrs.version}/epiphany-${finalAttrs.version}.tar.xz";
|
2024-10-31 12:26:18 +00:00
|
|
|
hash = "sha256-NNr9g2OgmLRNR24umCO0y+puZq+tM7uhDtehP/GpZPE=";
|
2018-02-25 20:07:20 +00:00
|
|
|
};
|
|
|
|
|
2018-03-22 14:40:21 +00:00
|
|
|
nativeBuildInputs = [
|
2019-09-21 02:39:40 +00:00
|
|
|
desktop-file-utils
|
|
|
|
gettext
|
|
|
|
itstool
|
|
|
|
meson
|
|
|
|
ninja
|
2021-01-17 02:21:50 +00:00
|
|
|
pkg-config
|
2023-02-25 03:00:23 +00:00
|
|
|
wrapGAppsHook4
|
2020-02-26 22:11:17 +00:00
|
|
|
buildPackages.glib
|
2023-02-25 03:00:23 +00:00
|
|
|
buildPackages.gtk4
|
2018-03-22 14:40:21 +00:00
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2018-03-22 14:40:21 +00:00
|
|
|
buildInputs = [
|
2023-02-25 03:00:23 +00:00
|
|
|
gcr_4
|
2019-09-21 02:39:40 +00:00
|
|
|
gdk-pixbuf
|
|
|
|
glib
|
|
|
|
glib-networking
|
|
|
|
gnome-desktop
|
|
|
|
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
|
2023-02-25 03:00:23 +00:00
|
|
|
gtk4
|
2019-09-21 02:39:40 +00:00
|
|
|
icu
|
|
|
|
isocodes
|
|
|
|
json-glib
|
2023-02-25 03:00:23 +00:00
|
|
|
libadwaita
|
|
|
|
libportal-gtk4
|
2021-03-21 05:15:45 +00:00
|
|
|
libarchive
|
2019-09-21 02:39:40 +00:00
|
|
|
libsecret
|
2022-07-23 15:44:39 +00:00
|
|
|
libsoup_3
|
2019-09-21 02:39:40 +00:00
|
|
|
libxml2
|
|
|
|
nettle
|
|
|
|
p11-kit
|
|
|
|
sqlite
|
2023-02-25 03:00:23 +00:00
|
|
|
webkitgtk_6_0
|
2023-03-04 09:11:30 +00:00
|
|
|
] ++ lib.optionals withPantheon [
|
|
|
|
pantheon.granite7
|
2021-10-17 03:41:46 +00:00
|
|
|
];
|
2016-09-18 19:35:23 +00:00
|
|
|
|
2021-03-21 05:15:45 +00:00
|
|
|
# Tests need an X display
|
|
|
|
mesonFlags = [
|
|
|
|
"-Dunit_tests=disabled"
|
2023-03-17 18:36:16 +00:00
|
|
|
] ++ lib.optionals withPantheon [
|
|
|
|
"-Dgranite=enabled"
|
2021-03-21 05:15:45 +00:00
|
|
|
];
|
|
|
|
|
2018-03-22 14:40:21 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2024-06-01 08:12:39 +00:00
|
|
|
packageName = "epiphany";
|
2018-03-22 14:40:21 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2024-05-01 05:03:10 +00:00
|
|
|
homepage = "https://apps.gnome.org/Epiphany/";
|
2016-09-18 19:35:23 +00:00
|
|
|
description = "WebKit based web browser for GNOME";
|
2024-03-19 02:14:51 +00:00
|
|
|
mainProgram = "epiphany";
|
2021-08-13 13:46:21 +00:00
|
|
|
maintainers = teams.gnome.members ++ teams.pantheon.members;
|
2021-03-21 05:15:45 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2016-09-18 19:35:23 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
2024-06-01 08:12:39 +00:00
|
|
|
})
|