3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/desktops/gnome-3/core/epiphany/default.nix

51 lines
1.6 KiB
Nix
Raw Normal View History

2017-10-04 22:50:14 +01:00
{ stdenv, meson, ninja, gettext, fetchurl, pkgconfig, gtk, glib, icu
, wrapGAppsHook, gnome3, libxml2, libxslt, itstool
, webkitgtk, libsoup, glib-networking, libsecret, gnome-desktop, libnotify, p11-kit
, sqlite, gcr, isocodes, desktop-file-utils, python3
2018-09-05 01:43:17 +01:00
, gdk_pixbuf, gst_all_1, json-glib, libdazzle }:
stdenv.mkDerivation rec {
name = "epiphany-${version}";
2019-02-05 21:03:56 +00:00
version = "3.30.3";
src = fetchurl {
url = "mirror://gnome/sources/epiphany/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
2019-02-05 21:03:56 +00:00
sha256 = "05qdzx18ld1m3xiajpz6y6snfj56bgyjsgm7f4rqrnpjdbdvikbn";
};
# Tests need an X display
2017-10-04 22:50:14 +01:00
mesonFlags = [ "-Dunit_tests=false" ];
2018-03-22 14:40:21 +00:00
nativeBuildInputs = [
meson ninja libxslt pkgconfig itstool gettext wrapGAppsHook desktop-file-utils python3
2018-03-22 14:40:21 +00:00
];
2018-03-22 14:40:21 +00:00
buildInputs = [
gtk glib webkitgtk libsoup libxml2 libsecret gnome-desktop libnotify
sqlite isocodes p11-kit icu
gdk_pixbuf gnome3.defaultIconTheme gcr
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
];
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";
};
};
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;
};
}