Merge pull request #94042 from MetaDark/newsflash
newsflash: 1.0.1 -> 1.0.2
This commit is contained in:
commit
f320c5def0
File diff suppressed because it is too large
Load Diff
|
@ -1,38 +1,34 @@
|
|||
{ lib
|
||||
, rustPlatform
|
||||
, fetchFromGitLab
|
||||
, gdk-pixbuf
|
||||
, glib
|
||||
, meson
|
||||
, ninja
|
||||
, pkg-config
|
||||
, wrapGAppsHook
|
||||
, glib-networking
|
||||
, gsettings-desktop-schemas
|
||||
, gdk-pixbuf
|
||||
, glib
|
||||
, gtk3
|
||||
, libhandy
|
||||
, librsvg
|
||||
, openssl
|
||||
, sqlite
|
||||
, webkitgtk
|
||||
, glib-networking
|
||||
, librsvg
|
||||
, gst_all_1
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "newsflash";
|
||||
version = "1.0.1";
|
||||
version = "1.0.2";
|
||||
|
||||
src = fetchFromGitLab {
|
||||
owner = "news-flash";
|
||||
repo = "news_flash_gtk";
|
||||
rev = version;
|
||||
sha256 = "1y2jj3z08m29s6ggl8q270mqnvdwibs0f2kxybqhi8mya5pyw902";
|
||||
sha256 = "17a8fd5rhs56qrqlfj9ckv45hwfcjhdb8j4cxlnvy7s770s225gd";
|
||||
};
|
||||
|
||||
cargoPatches = [
|
||||
./cargo.lock.patch
|
||||
];
|
||||
|
||||
cargoSha256 = "0z3nhzpyckga112wn32zzwwlpqdgi6n53n8nwgggixvpbnh98112";
|
||||
cargoSha256 = "1p0m7la59fn9r2rr26q9mfd1nvyvxb630qiwj96x91p77xv1i30i";
|
||||
|
||||
patches = [
|
||||
./no-post-install.patch
|
||||
|
@ -44,26 +40,37 @@ rustPlatform.buildRustPackage rec {
|
|||
'';
|
||||
|
||||
nativeBuildInputs = [
|
||||
gdk-pixbuf # provides setup hook to fix "Unrecognized image file format"
|
||||
glib # provides glib-compile-resources to compile gresources
|
||||
meson
|
||||
ninja
|
||||
pkg-config
|
||||
wrapGAppsHook
|
||||
|
||||
# Provides setup hook to fix "Unrecognized image file format"
|
||||
gdk-pixbuf
|
||||
|
||||
# Provides glib-compile-resources to compile gresources
|
||||
glib
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gdk-pixbuf
|
||||
glib
|
||||
glib-networking # TLS support for loading external content in webkitgtk WebView (eg. images)
|
||||
gsettings-desktop-schemas # used to get system default font in src/article_view/mod.rs
|
||||
gtk3
|
||||
libhandy
|
||||
librsvg # used by gdk-pixbuf & wrapGAppsHook setup hooks to fix "Unrecognized image file format"
|
||||
openssl
|
||||
sqlite
|
||||
webkitgtk
|
||||
];
|
||||
|
||||
# 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
|
||||
gstreamer
|
||||
gst-plugins-base
|
||||
gst-plugins-good
|
||||
gst-plugins-bad
|
||||
]);
|
||||
|
||||
# Unset default rust phases to use meson & ninja instead
|
||||
configurePhase = null;
|
||||
|
|
Loading…
Reference in New Issue