Skip to content

Commit

Permalink
zsh: 5.6.2 -> 5.7
Browse files Browse the repository at this point in the history
  • Loading branch information
pSub committed Jan 24, 2019
1 parent 4348017 commit f826944
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions pkgs/shells/zsh/default.nix
@@ -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
Expand All @@ -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 = [
Expand Down

0 comments on commit f826944

Please sign in to comment.