mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-17 22:28:55 +00:00
newsflash: 5.1.0 -> 5.2.3 (#542282)
This commit is contained in:
@@ -18,35 +18,33 @@
|
||||
gtksourceview5,
|
||||
libadwaita,
|
||||
libglycin,
|
||||
libseccomp,
|
||||
libxml2,
|
||||
openssl,
|
||||
sqlite,
|
||||
webkitgtk_6_0,
|
||||
glib-networking,
|
||||
librsvg,
|
||||
gst_all_1,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "newsflash";
|
||||
version = "5.1.0";
|
||||
version = "5.2.3";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "news-flash";
|
||||
repo = "news_flash_gtk";
|
||||
tag = "v.${finalAttrs.version}";
|
||||
hash = "sha256-BfzrnTyMLFiM+aHtrppvl/j/fjB4TbEkbl/yHYOnXa8=";
|
||||
hash = "sha256-EeB2DNXxvo7biIv426+dkCKbjn2uxyXgvA1FbKevaFQ=";
|
||||
};
|
||||
|
||||
cargoDeps = rustPlatform.fetchCargoVendor {
|
||||
inherit (finalAttrs) pname version src;
|
||||
hash = "sha256-4z2RGelDhi4RmVQ/+Ba340Pm05x4ruaRYAtJ1HuRHqA=";
|
||||
hash = "sha256-OPxMsNhdMSt8mLhsNIBTjggSL1f3bZMH/5shESDV6yE=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs build-aux/cargo.sh
|
||||
patchShebangs --build build-aux/cargo.sh
|
||||
meson rewrite kwargs set project / version '${finalAttrs.version}'
|
||||
substituteInPlace src/meson.build --replace-fail \
|
||||
"'src' / rust_target / 'news_flash_gtk'" \
|
||||
@@ -79,7 +77,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
gtksourceview5
|
||||
libadwaita
|
||||
libglycin
|
||||
libseccomp
|
||||
libxml2
|
||||
openssl
|
||||
sqlite
|
||||
@@ -87,9 +84,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
# TLS support for loading external content in webkitgtk WebView
|
||||
glib-networking
|
||||
|
||||
# SVG support for gdk-pixbuf
|
||||
librsvg
|
||||
]
|
||||
++ (with gst_all_1; [
|
||||
# Audio & video support for webkitgtk WebView
|
||||
|
||||
Reference in New Issue
Block a user