kakoune: 2016-12-10 -> 2016-12-30, fix on Darwin

This commit is contained in:
Dmitry Kalinkin 2016-12-30 12:03:52 -05:00
parent 456cf826e0
commit 9a5e34faca
No known key found for this signature in database
GPG Key ID: 5157B3EC8B2CA333

View File

@ -4,17 +4,18 @@ with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "kakoune-nightly-${version}"; name = "kakoune-nightly-${version}";
version = "2016-12-10"; version = "2016-12-30";
src = fetchFromGitHub { src = fetchFromGitHub {
repo = "kakoune"; repo = "kakoune";
owner = "mawww"; owner = "mawww";
rev = "e44129577a010ebb4dc609b806104d3175659074"; rev = "76c58aa022a896dc170c207ff821992ee354d934";
sha256 = "1jkpbk6wa9x5nlv002y1whv6ddhqawxzbp3jcbzcb51cg8bz0b1l"; sha256 = "0hgpcp6444cyg4bm0a9ypywjwfh19qpqpfr5w0wcd2y3clnsvsdz";
}; };
buildInputs = [ ncurses boost asciidoc docbook_xsl libxslt ]; buildInputs = [ ncurses boost asciidoc docbook_xsl libxslt ];
buildPhase = '' buildPhase = ''
sed -ie 's#--no-xmllint#--no-xmllint --xsltproc-opts="--nonet"#g' src/Makefile sed -ie 's#--no-xmllint#--no-xmllint --xsltproc-opts="--nonet"#g' src/Makefile
substituteInPlace src/Makefile --replace "boost_regex-mt" "boost_regex"
export PREFIX=$out export PREFIX=$out
(cd src && make ) (cd src && make )
''; '';
@ -28,6 +29,6 @@ stdenv.mkDerivation rec {
description = "A vim inspired text editor"; description = "A vim inspired text editor";
license = licenses.publicDomain; license = licenses.publicDomain;
maintainers = with maintainers; [ vrthra ]; maintainers = with maintainers; [ vrthra ];
platforms = platforms.linux; platforms = platforms.unix;
}; };
} }