diff options
Diffstat (limited to 'nixpkgs/pkgs/desktops/gnome/core/epiphany/default.nix')
-rw-r--r-- | nixpkgs/pkgs/desktops/gnome/core/epiphany/default.nix | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/nixpkgs/pkgs/desktops/gnome/core/epiphany/default.nix b/nixpkgs/pkgs/desktops/gnome/core/epiphany/default.nix index 617ef1cc38f5..0baab20acec9 100644 --- a/nixpkgs/pkgs/desktops/gnome/core/epiphany/default.nix +++ b/nixpkgs/pkgs/desktops/gnome/core/epiphany/default.nix @@ -1,8 +1,10 @@ -{ lib, stdenv +{ lib +, stdenv , meson , ninja , gettext , fetchurl +, fetchpatch , pkg-config , gtk3 , glib @@ -39,19 +41,30 @@ stdenv.mkDerivation rec { pname = "epiphany"; - version = "41.0"; + version = "41.3"; src = fetchurl { url = "mirror://gnome/sources/${pname}/${lib.versions.major version}/${pname}-${version}.tar.xz"; - sha256 = "s50YJUkllbC3TF1qZoaoV/lBnfpMAvgBPCl7yHDibdA="; + sha256 = "ugEmjuVPMY39rC4B66OKP8lpQMHL9kDtJhOuKfi8ua0="; }; patches = lib.optionals withPantheon [ - # Make this respect dark mode settings from Pantheon + # Pantheon specific patches for epiphany # https://github.com/elementary/browser - # The patch currently differs from upstream (updated for epiphany 40 and 41). - ./pantheon-dark-style.patch - ./pantheon-navigation-buttons.patch + # + # Make this respect dark mode settings from Pantheon + # https://github.com/elementary/browser/pull/21 + # https://github.com/elementary/browser/pull/41 + (fetchpatch { + url = "https://raw.githubusercontent.com/elementary/browser/cc17559a7ac6effe593712b4f3d0bbefde6e3b62/dark-style.patch"; + sha256 = "sha256-RzMUc9P51UN3tRFefzRtMniXR9duOOmLj5eu5gL2TEQ="; + }) + # Patch to unlink nav buttons + # https://github.com/elementary/browser/pull/18 + (fetchpatch { + url = "https://raw.githubusercontent.com/elementary/browser/cc17559a7ac6effe593712b4f3d0bbefde6e3b62/navigation-buttons.patch"; + sha256 = "sha256-G1/JUjn/8DyO9sgL/5Kq205KbTOs4EMi4Vf3cJ8FHXU="; + }) ]; nativeBuildInputs = [ |