Skip to content

Commit

Permalink
kakoune: 2017-02-09-> 2017-04-12
Browse files Browse the repository at this point in the history
fixes #24847
fixes #24738
  • Loading branch information
tripokey authored and Mic92 committed Apr 13, 2017
1 parent 73c8797 commit 15bb499
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions pkgs/applications/editors/kakoune/default.nix
Expand Up @@ -3,25 +3,20 @@
with stdenv.lib;

stdenv.mkDerivation rec {
name = "kakoune-nightly-${version}";
version = "2017-02-09";
name = "kakoune-unstable-${version}";
version = "2017-04-12";
src = fetchFromGitHub {
repo = "kakoune";
owner = "mawww";
rev = "9ba1665e58ee84b6596d89e6ef75f7c32e7c6c14";
sha256 = "1l25mzq64a481qlsyh25rzp5rzajrkx4dq29677z85lnjqn30wbi";
rev = "7482d117cc85523e840dff595134dcb9cdc62207";
sha256 = "08j611y192n9vln9i94ldlvz3k0sg79dkmfc0b1vczrmaxhpgpfh";
};
buildInputs = [ ncurses boost asciidoc docbook_xsl libxslt ];

buildPhase = ''
sed -ie 's#--no-xmllint#--no-xmllint --xsltproc-opts="--nonet"#g' src/Makefile
substituteInPlace src/Makefile --replace "boost_regex-mt" "boost_regex"
postPatch = ''
export PREFIX=$out
(cd src && make )
'';

installPhase = ''
(cd src && make install)
cd src
sed -ie 's#--no-xmllint#--no-xmllint --xsltproc-opts="--nonet"#g' Makefile
'';

meta = {
Expand Down

0 comments on commit 15bb499

Please sign in to comment.