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