newsflash: 4.1.4 -> 4.2.1 (#462330)
This commit is contained in:
@@ -22,23 +22,23 @@
|
|||||||
glib-networking,
|
glib-networking,
|
||||||
librsvg,
|
librsvg,
|
||||||
gst_all_1,
|
gst_all_1,
|
||||||
gitUpdater,
|
nix-update-script,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "newsflash";
|
pname = "newsflash";
|
||||||
version = "4.1.4";
|
version = "4.2.1";
|
||||||
|
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "news-flash";
|
owner = "news-flash";
|
||||||
repo = "news_flash_gtk";
|
repo = "news_flash_gtk";
|
||||||
tag = "v.${finalAttrs.version}";
|
tag = "v.${finalAttrs.version}";
|
||||||
hash = "sha256-3RGa1f+V7dIgTxQKOceVSr7RwajUgwq05ypBhg6RjMA=";
|
hash = "sha256-me9/2sA1Thne10+JrSMvicDRxXuevCnM8Tb+kwXzNDI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||||
inherit (finalAttrs) pname version src;
|
inherit (finalAttrs) pname version src;
|
||||||
hash = "sha256-CRQH22EP/G6osjsuZJmTWwjq4C06DxiIXlz6zxgbDv4=";
|
hash = "sha256-cgu1zP85UCb/6gYNcj/khc6u1kSwX0UZ2oIjM2UUBOA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@@ -65,7 +65,6 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
# Provides setup hook to fix "Unrecognized image file format"
|
# Provides setup hook to fix "Unrecognized image file format"
|
||||||
gdk-pixbuf
|
gdk-pixbuf
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@@ -91,17 +90,20 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
gst-plugins-bad
|
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;
|
env.CARGO_BUILD_TARGET = stdenv.hostPlatform.rust.rustcTargetSpec;
|
||||||
|
|
||||||
passthru.updateScript = gitUpdater {
|
passthru.updateScript = nix-update-script {
|
||||||
rev-prefix = "v.";
|
extraArgs = [
|
||||||
ignoredVersions = "(alpha|beta|rc)";
|
"--version-regex"
|
||||||
|
"^v.(\\d+\\.\\d+\\.\\d+)$"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Modern feed reader designed for the GNOME desktop";
|
description = "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";
|
||||||
|
changelog = "https://gitlab.com/news-flash/news_flash_gtk/-/raw/${finalAttrs.src.tag}/data/io.gitlab.news_flash.NewsFlash.appdata.xml.in.in#:~:text=%3Crelease%20version=%22${finalAttrs.version}%22,%3C/release%3E";
|
||||||
license = lib.licenses.gpl3Plus;
|
license = lib.licenses.gpl3Plus;
|
||||||
maintainers = with lib.maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
kira-bruneau
|
kira-bruneau
|
||||||
|
|||||||
Reference in New Issue
Block a user