Merge pull request #193468 from zendo/update-newsflash

newsflash: 1.5.2 -> 2.0.1

Changed files
+16 -9
pkgs
applications
networking
feedreaders
newsflash
top-level
+13 -8
pkgs/applications/networking/feedreaders/newsflash/default.nix
···
, meson
, ninja
, pkg-config
-
, wrapGAppsHook
+
, wrapGAppsHook4
, gdk-pixbuf
, glib
-
, gtk3
+
, gtk4
+
, libadwaita
+
, libxml2
, libhandy
, openssl
, sqlite
···
stdenv.mkDerivation rec {
pname = "newsflash";
-
version = "1.5.1";
+
version = "2.0.1";
src = fetchFromGitLab {
owner = "news-flash";
repo = "news_flash_gtk";
-
rev = version;
-
hash = "sha256-fLG7oYt+gdl3Lwnu6c7VLJWSHCFY5LyNeDKoUNGg3Yw=";
+
rev = "v.${version}";
+
hash = "sha256-bqS9jq1rUOkYilWzp0e2tlEcgmoc+DUV7+LJ82Bid98=";
};
cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
-
hash = "sha256-dQlbK3SfY6p1xinroXz5wcaBbq2LuDM9sMlfJ6ueTTg=";
+
hash = "sha256-vD880Ccp+U4kz7/JbJ850M/XxCb1ypycd2Xm9NHDVRY=";
};
patches = [
···
meson
ninja
pkg-config
-
wrapGAppsHook
+
wrapGAppsHook4
# Provides setup hook to fix "Unrecognized image file format"
gdk-pixbuf
···
]);
buildInputs = [
-
gtk3
+
gtk4
+
libadwaita
+
libxml2
libhandy
openssl
sqlite
···
license = licenses.gpl3Plus;
maintainers = with maintainers; [ kira-bruneau stunkymonkey ];
platforms = platforms.unix;
+
mainProgram = "com.gitlab.newsflash";
};
}
+3 -1
pkgs/top-level/all-packages.nix
···
nerd-font-patcher = callPackage ../applications/misc/nerd-font-patcher { };
-
newsflash = callPackage ../applications/networking/feedreaders/newsflash { };
+
newsflash = callPackage ../applications/networking/feedreaders/newsflash {
+
webkitgtk = webkitgtk_5_0;
+
};
nicotine-plus = callPackage ../applications/networking/soulseek/nicotine-plus { };