Merge pull request #211882 from kira-bruneau/newsflash

newsflash: 2.2.3 → 2.2.4
This commit is contained in:
Felix Bühler 2023-01-21 14:44:47 +01:00 committed by GitHub
commit 30ace348c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,23 +17,24 @@
, glib-networking , glib-networking
, librsvg , librsvg
, gst_all_1 , gst_all_1
, gitUpdater
}: }:
stdenv.mkDerivation (finalAttrs: { stdenv.mkDerivation (finalAttrs: {
pname = "newsflash"; pname = "newsflash";
version = "2.2.3"; version = "2.2.4";
src = fetchFromGitLab { src = fetchFromGitLab {
owner = "news-flash"; owner = "news-flash";
repo = "news_flash_gtk"; repo = "news_flash_gtk";
rev = "refs/tags/v.${finalAttrs.version}"; rev = "refs/tags/v.${finalAttrs.version}";
sha256 = "sha256-ms0CVYSYccRuiLBZ+lEEyMH0Zhti5sMM49XuEUe9sKw="; sha256 = "sha256-civHj8a5LYV3XaAjSJBdn15+8sdO/yLlWBXCNW56plA=";
}; };
cargoDeps = rustPlatform.fetchCargoTarball { cargoDeps = rustPlatform.fetchCargoTarball {
name = "${finalAttrs.pname}-${finalAttrs.version}"; name = "${finalAttrs.pname}-${finalAttrs.version}";
src = finalAttrs.src; src = finalAttrs.src;
sha256 = "sha256-QbjXjdKMjGwXQ3DoyAJN1SxnHjVeAk140j1me/iWlZQ="; sha256 = "sha256-vgqyFdc1m53SYqnYE6JLp1/tK7rFrohYOT/BTO6fUI0=";
}; };
patches = [ patches = [
@ -87,6 +88,10 @@ stdenv.mkDerivation (finalAttrs: {
gst-plugins-bad gst-plugins-bad
]); ]);
passthru.updateScript = gitUpdater {
rev-prefix = "v.";
};
meta = with lib; { meta = with lib; {
description = "A modern feed reader designed for the GNOME desktop"; description = "A modern feed reader designed for the GNOME desktop";
homepage = "https://gitlab.com/news-flash/news_flash_gtk"; homepage = "https://gitlab.com/news-flash/news_flash_gtk";