nixpkgs/pkgs/by-name/ep/epiphany/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

110 lines
1.9 KiB
Nix
Raw Normal View History

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