Skip to content

Commit

Permalink
Merge pull request NixOS#127557 from kira-bruneau/newsflash
Browse files Browse the repository at this point in the history
newsflash: 1.4.1 → 1.4.2
  • Loading branch information
SuperSandro2000 authored Jun 20, 2021
2 parents d3134a5 + 35e8ddf commit dc54724
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
21 changes: 8 additions & 13 deletions pkgs/applications/networking/feedreaders/newsflash/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,33 +15,27 @@
, webkitgtk
, glib-networking
, librsvg
, gst_all_1
, xdg-utils
, gst_all_1
}:

stdenv.mkDerivation rec {
pname = "newsflash";
version = "1.4.1";
version = "1.4.2";

src = fetchFromGitLab {
owner = "news-flash";
repo = "news_flash_gtk";
rev = version;
hash = "sha256-pskmvztKOwutXRHVnW5u68/0DAuV9Gb+Ovp2JbXiMYo=";
hash = "sha256-8W158GrvVGu5b3TG5bomK+hAF6jttZuImkmtcZOl91o=";
};

cargoDeps = rustPlatform.fetchCargoTarball {
inherit src;
name = "${pname}-${version}";
hash = "sha256-qq8cZplt5YWUwsXUShMDhQm3RGH2kCEBk64x6bOa50E=";
hash = "sha256-zHtD3NVWYQ5njg17Z2YmEttiK2oiq01OiAXIZofIqKI=";
};

# https://github.com/CasualX/obfstr/blob/v0.2.4/build.rs#L5
# obfstr 0.2.4 fails to set RUSTC_BOOTSTRAP in its build script because cargo
# build scripts are forbidden from setting RUSTC_BOOTSTRAP since rustc 1.52.0
# https://github.com/rust-lang/rust/blob/1.52.0/RELEASES.md#compatibility-notes
RUSTC_BOOTSTRAP = 1;

patches = [
# Post install tries to generate an icon cache & update the
# desktop database. The gtk setup hook drop-icon-theme-cache.sh
Expand Down Expand Up @@ -79,14 +73,14 @@ stdenv.mkDerivation rec {
sqlite
webkitgtk

# open link in browser
xdg-utils

# TLS support for loading external content in webkitgtk WebView
glib-networking

# SVG support for gdk-pixbuf
librsvg

# Open links in browser
xdg-utils
] ++ (with gst_all_1; [
# Audio & video support for webkitgtk WebView
gstreamer
Expand All @@ -100,5 +94,6 @@ stdenv.mkDerivation rec {
homepage = "https://gitlab.com/news-flash/news_flash_gtk";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ kira-bruneau ];
platforms = platforms.unix;
};
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/meson.build b/meson.build
index 53f911c..361a233 100644
index 1d7089c..1952e7f 100644
--- a/meson.build
+++ b/meson.build
@@ -61,5 +61,3 @@ meson.add_dist_script(
Expand Down

0 comments on commit dc54724

Please sign in to comment.