Skip to content

Commit

Permalink
Merge pull request #111336 from MetaDark/newsflash
Browse files Browse the repository at this point in the history
newsflash: 1.1.1 -> 1.2.2
  • Loading branch information
ryantm authored Feb 20, 2021
2 parents b0dcc5b + 1196443 commit 3240fc0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkgs/applications/networking/feedreaders/newsflash/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,27 @@

rustPlatform.buildRustPackage rec {
pname = "newsflash";
version = "1.1.1";
version = "1.2.2";

src = fetchFromGitLab {
owner = "news-flash";
repo = "news_flash_gtk";
rev = version;
sha256 = "1z47h23g87dqmr9sfjl36fs5xjm2wj7z2bri9g0a4jcpwzl5awsd";
hash = "sha256-TeheK14COX1NIrql74eI8Wx4jtpUP1eO5mugT5LzlPY=";
};

cargoSha256 = "0rnrdh9ganj63hf9j890yj9pahcgza95z7x020w72mbb4648hq26";
cargoHash = "sha256-Fbj4sabrwpfa0QNEN4l91y/6AuPIKu7QPzYNUO6RtU0=";

patches = [
# Post install tries to generate an icon cache & update the
# desktop database. The gtk setup hook drop-icon-theme-cache.sh
# would strip out the icon cache and the desktop database wouldn't
# be included in $out. They will generated by xdg.mime.enable &
# gtk.iconCache.enable instead.
./no-post-install.patch
];

postPatch = ''
chmod +x build-aux/cargo.sh
patchShebangs .
'';

Expand Down

0 comments on commit 3240fc0

Please sign in to comment.