Merge pull request #54552 from NixOS/update-zsh-5.7

zsh: 5.6.2 -> 5.7
This commit is contained in:
Pascal Wittmann 2019-01-26 16:51:58 +01:00 committed by GitHub
commit 5aeaedc6e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, ncurses, pcre, fetchpatch }:
let
version = "5.6.2";
version = "5.7";
documentation = fetchurl {
url = "mirror://sourceforge/zsh/zsh-${version}-doc.tar.xz";
sha256 = "05014rg6hkwiv1p56iij8wn2rghmwjxs5qsj3d3xigbwaikk55wq";
sha256 = "0pgisyi82pg5mycx1k7vfx9hwzl6zq00r5s9v91lg4gqisvlvagh";
};
in
@ -15,18 +15,9 @@ stdenv.mkDerivation {
src = fetchurl {
url = "mirror://sourceforge/zsh/zsh-${version}.tar.xz";
sha256 = "17iffliqcj4hv91g0bd2sxsyfcz51mfyh97sp2iyrs2p0mndc2x5";
sha256 = "04ynid3ggvy6i5c26bk52mq6x5vyrdwgryid9hggmnb1nf8b41vq";
};
patches = [
(fetchpatch {
name = "search-xdg-data-dirs.patch";
url = https://github.com/zsh-users/zsh/commit/624219e0e4cbfdfb286e707bd2853f2d7b6a4a7d.patch;
sha256 = "0i0g7dc0px57vpklm1f4w20vyc92nv15y09r5clvib2kjkxjy2cf";
excludes = [ "ChangeLog" ];
})
];
buildInputs = [ ncurses pcre ];
configureFlags = [