newsflash: 4.1.4 -> 4.2.1

This commit is contained in:
Kira Bruneau
2025-11-16 13:38:48 -05:00
parent e125e4c24a
commit 4a321d26ad

View File

@@ -27,18 +27,18 @@
stdenv.mkDerivation (finalAttrs: {
pname = "newsflash";
version = "4.1.4";
version = "4.2.1";
src = fetchFromGitLab {
owner = "news-flash";
repo = "news_flash_gtk";
tag = "v.${finalAttrs.version}";
hash = "sha256-3RGa1f+V7dIgTxQKOceVSr7RwajUgwq05ypBhg6RjMA=";
hash = "sha256-me9/2sA1Thne10+JrSMvicDRxXuevCnM8Tb+kwXzNDI=";
};
cargoDeps = rustPlatform.fetchCargoVendor {
inherit (finalAttrs) pname version src;
hash = "sha256-CRQH22EP/G6osjsuZJmTWwjq4C06DxiIXlz6zxgbDv4=";
hash = "sha256-cgu1zP85UCb/6gYNcj/khc6u1kSwX0UZ2oIjM2UUBOA=";
};
postPatch = ''
@@ -65,7 +65,6 @@ stdenv.mkDerivation (finalAttrs: {
# Provides setup hook to fix "Unrecognized image file format"
gdk-pixbuf
];
buildInputs = [
@@ -91,7 +90,7 @@ stdenv.mkDerivation (finalAttrs: {
gst-plugins-bad
]);
# For https://gitlab.com/news-flash/news_flash_gtk/-/blob/8e5fc4acf5ca6be5b8cd616466a17e7a273f9dda/src/meson.build#L47
# For https://gitlab.com/news-flash/news_flash_gtk/-/blob/v.4.2.1/src/meson.build#L48
env.CARGO_BUILD_TARGET = stdenv.hostPlatform.rust.rustcTargetSpec;
passthru.updateScript = nix-update-script {