From f8761c63e489075ba5f313d12db58dd77569f5b1 Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Tue, 4 Oct 2022 19:40:22 -0400 Subject: [PATCH 1/2] newsflash: add updateScript --- .../networking/feedreaders/newsflash/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/networking/feedreaders/newsflash/default.nix b/pkgs/applications/networking/feedreaders/newsflash/default.nix index 5d5e8615a855..a67755678761 100644 --- a/pkgs/applications/networking/feedreaders/newsflash/default.nix +++ b/pkgs/applications/networking/feedreaders/newsflash/default.nix @@ -17,6 +17,7 @@ , glib-networking , librsvg , gst_all_1 +, gitUpdater }: stdenv.mkDerivation (finalAttrs: { @@ -87,6 +88,11 @@ stdenv.mkDerivation (finalAttrs: { gst-plugins-bad ]); + + passthru.updateScript = gitUpdater { + rev-prefix = "v."; + }; + meta = with lib; { description = "A modern feed reader designed for the GNOME desktop"; homepage = "https://gitlab.com/news-flash/news_flash_gtk"; From c75fcace8e295dbfae87237118efcf8300f2bf96 Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Sat, 21 Jan 2023 00:33:41 -0500 Subject: [PATCH 2/2] =?UTF-8?q?newsflash:=202.2.3=20=E2=86=92=202.2.4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../networking/feedreaders/newsflash/default.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/applications/networking/feedreaders/newsflash/default.nix b/pkgs/applications/networking/feedreaders/newsflash/default.nix index a67755678761..fafda428fe6e 100644 --- a/pkgs/applications/networking/feedreaders/newsflash/default.nix +++ b/pkgs/applications/networking/feedreaders/newsflash/default.nix @@ -22,19 +22,19 @@ stdenv.mkDerivation (finalAttrs: { pname = "newsflash"; - version = "2.2.3"; + version = "2.2.4"; src = fetchFromGitLab { owner = "news-flash"; repo = "news_flash_gtk"; rev = "refs/tags/v.${finalAttrs.version}"; - sha256 = "sha256-ms0CVYSYccRuiLBZ+lEEyMH0Zhti5sMM49XuEUe9sKw="; + sha256 = "sha256-civHj8a5LYV3XaAjSJBdn15+8sdO/yLlWBXCNW56plA="; }; cargoDeps = rustPlatform.fetchCargoTarball { name = "${finalAttrs.pname}-${finalAttrs.version}"; src = finalAttrs.src; - sha256 = "sha256-QbjXjdKMjGwXQ3DoyAJN1SxnHjVeAk140j1me/iWlZQ="; + sha256 = "sha256-vgqyFdc1m53SYqnYE6JLp1/tK7rFrohYOT/BTO6fUI0="; }; patches = [ @@ -88,7 +88,6 @@ stdenv.mkDerivation (finalAttrs: { gst-plugins-bad ]); - passthru.updateScript = gitUpdater { rev-prefix = "v."; };