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