wike: 1.7.1 -> 2.0.1

zendo bfc30718 351cec5d

+31 -16
+31 -16
pkgs/applications/misc/wike/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub 2 - , meson, pkg-config, ninja 1 + { lib 2 + , fetchFromGitHub 3 3 , python3 4 - , glib, appstream-glib , desktop-file-utils 5 - , gobject-introspection, gtk3 6 - , wrapGAppsHook 7 - , libhandy, webkitgtk, glib-networking 8 - , gnome, dconf 4 + , meson 5 + , ninja 6 + , pkg-config 7 + , appstream-glib 8 + , desktop-file-utils 9 + , gobject-introspection 10 + , wrapGAppsHook4 11 + , glib 12 + , gtk4 13 + , librsvg 14 + , libadwaita 15 + , glib-networking 16 + , webkitgtk_6_0 9 17 }: 10 18 11 19 python3.pkgs.buildPythonApplication rec { 12 20 pname = "wike"; 13 - version = "1.7.1"; 21 + version = "2.0.1"; 14 22 format = "other"; 15 23 16 24 src = fetchFromGitHub { 17 25 owner = "hugolabe"; 18 26 repo = "Wike"; 19 27 rev = version; 20 - sha256 = "sha256-QLhfzGRrc2En0Hu+UdtPM572PdtXqOFL0W3LoAki4jI="; 28 + hash = "sha256-R8Zg/2tr9MrmtTdbvqD+Ra8+MEBJdgMqC3ptx1VgkeA="; 21 29 }; 22 30 23 31 nativeBuildInputs = [ ··· 27 35 appstream-glib 28 36 desktop-file-utils 29 37 gobject-introspection 30 - wrapGAppsHook 38 + wrapGAppsHook4 31 39 ]; 32 40 33 41 buildInputs = [ 34 42 glib 35 - gtk3 36 - libhandy 37 - webkitgtk 43 + gtk4 44 + librsvg 45 + libadwaita 38 46 glib-networking 39 - gnome.adwaita-icon-theme 40 - dconf 47 + webkitgtk_6_0 41 48 ]; 42 49 43 50 propagatedBuildInputs = with python3.pkgs; [ ··· 47 54 48 55 postPatch = '' 49 56 patchShebangs build-aux/meson/postinstall.py 57 + substituteInPlace build-aux/meson/postinstall.py \ 58 + --replace gtk-update-icon-cache gtk4-update-icon-cache 59 + ''; 60 + 61 + # prevent double wrapping 62 + dontWrapGApps = true; 63 + preFixup = '' 64 + makeWrapperArgs+=("''${gappsWrapperArgs[@]}") 50 65 ''; 51 66 52 67 meta = with lib; { 53 68 description = "Wikipedia Reader for the GNOME Desktop"; 54 69 homepage = "https://github.com/hugolabe/Wike"; 55 70 license = licenses.gpl3Plus; 56 - platforms = webkitgtk.meta.platforms; 71 + platforms = platforms.linux; 57 72 maintainers = with maintainers; [ samalws ]; 58 73 }; 59 74 }