Skip to content

Commit

Permalink
webkitgtk: rename attr
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewbauer committed Aug 7, 2018
1 parent 6319e8b commit e9259b1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
, gtk3, wayland, libwebp, enchant2, xorg, libxkbcommon, epoxy, at-spi2-core
, libxml2, libsoup, libsecret, libxslt, harfbuzz, libpthreadstubs, pcre, nettle, libtasn1, p11-kit
, libidn, libedit, readline, libGLU_combined, libintl
, enableGeoLocation ? true, geoclue2, sqlite
, enableGeoLocation ? stdenv.isLinux, geoclue2, sqlite
, enableGtk2Plugins ? false, gtk2 ? null
, gst-plugins-base, gst-plugins-bad, woff2
}:
Expand All @@ -15,20 +15,19 @@ assert stdenv.isDarwin -> !enableGtk2Plugins;
with stdenv.lib;
stdenv.mkDerivation rec {
name = "webkitgtk-${version}";
version = "2.20.3";
version = "2.21.5";

meta = {
description = "Web content rendering engine, GTK+ port";
homepage = https://webkitgtk.org/;
license = licenses.bsd2;
platforms = platforms.linux;
hydraPlatforms = [];
maintainers = with maintainers; [ ];
};

src = fetchurl {
url = "https://webkitgtk.org/releases/${name}.tar.xz";
sha256 = "1n0dy94bm7wvxln4jis1gp8plv8n4a01g41724zsf5psg1yk16sp";
sha256 = "07w28ppak036ninyiiz6nnmqdjcyaj5z0y7wk1l4l5yw073wh7n3";
};

patches = optionals stdenv.isDarwin [
Expand Down
14 changes: 6 additions & 8 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12163,25 +12163,23 @@ with pkgs;

wcslib = callPackage ../development/libraries/wcslib { };

webkitgtk = webkitgtk220x;

webkitgtk24x-gtk3 = callPackage ../development/libraries/webkitgtk/2.4.nix {
harfbuzz = harfbuzz-icu-58;
gst-plugins-base = gst_all_1.gst-plugins-base;
inherit (darwin) libobjc;
};

webkitgtk220x = callPackage ../development/libraries/webkitgtk/2.20.nix {
harfbuzz = harfbuzz-icu;
inherit (gst_all_1) gst-plugins-base gst-plugins-bad;
stdenv = overrideCC stdenv gcc6;
};

webkitgtk24x-gtk2 = webkitgtk24x-gtk3.override {
withGtk2 = true;
enableIntrospection = false;
};

webkitgtk = callPackage ../development/libraries/webkitgtk/default.nix {
harfbuzz = harfbuzz-icu;
inherit (gst_all_1) gst-plugins-base gst-plugins-bad;
stdenv = overrideCC stdenv gcc6;
};

websocketpp = callPackage ../development/libraries/websocket++ { };

webrtc-audio-processing = callPackage ../development/libraries/webrtc-audio-processing { };
Expand Down

0 comments on commit e9259b1

Please sign in to comment.