diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2019-03-19 17:03:03 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2019-03-21 00:08:30 +0100 |
commit | 655494495ac8e4af704451ceaaeebf0ecc6dcc74 (patch) | |
tree | 6ff61f45e22eb5f4044976f299505c6ebee1035d /pkgs/applications/networking | |
parent | 0cbe2fa18cd5c3d788b7045a76984241227f20d0 (diff) |
newsboat: 2.14 -> 2.14.1
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/feedreaders/newsboat/default.nix | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/pkgs/applications/networking/feedreaders/newsboat/default.nix b/pkgs/applications/networking/feedreaders/newsboat/default.nix index 7ed0e8e137fd8..561c405fd8080 100644 --- a/pkgs/applications/networking/feedreaders/newsboat/default.nix +++ b/pkgs/applications/networking/feedreaders/newsboat/default.nix @@ -1,18 +1,26 @@ -{ stdenv, rustPlatform, fetchurl, stfl, sqlite, curl, gettext, pkgconfig, libxml2, json_c, ncurses +{ stdenv, rustPlatform, fetchurl, fetchpatch, stfl, sqlite, curl, gettext, pkgconfig, libxml2, json_c, ncurses , asciidoc, docbook_xml_dtd_45, libxslt, docbook_xsl, libiconv, Security, makeWrapper }: rustPlatform.buildRustPackage rec { name = "newsboat-${version}"; - version = "2.14"; + version = "2.14.1"; src = fetchurl { url = "https://newsboat.org/releases/${version}/${name}.tar.xz"; - sha256 = "13bdwnwxa66c69lqhb02basff0aa6q1jhl7fgahcxmdy7snbmg37"; + sha256 = "0rnz61in715xgma6phvmn5bil618gic01f3kxzhcfgqsj2qx7l2b"; }; - cargoSha256 = "11s50qy1b833r2b5kr1wx9imi9h7s00c0hs36ricgbd0xw7n76hd"; + cargoSha256 = "05pf020jp20ffmvin6d1g8zbwf1zk03bm1cb99b7iqkk4r54g6dn"; - prePatch = '' + cargoPatches = [ + # Bump versions in Cargo.lock + (fetchpatch { + url = https://github.com/newsboat/newsboat/commit/cbad27a19d270f2f0fce9317651e2c9f0aa22865.patch; + sha256 = "05n31b6mycsmzilz7f3inkmav34210c4nlr1fna4zapbhxjdlhqn"; + }) + ]; + + postPatch = '' substituteInPlace Makefile --replace "|| true" "" # Allow other ncurses versions on Darwin substituteInPlace config.sh \ |