diff options
author | Joachim F <joachifm@users.noreply.github.com> | 2016-07-30 19:31:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-30 19:31:11 +0200 |
commit | a5302f3c791935ae096fd58084e7b15fd1663545 (patch) | |
tree | d2ead6254eb1618213e13ddaf27a2876dade500c /pkgs/applications | |
parent | 1e43d54695a626ca9e8106ee4db415ac69fd6761 (diff) | |
parent | 1db375ebd95c174b0782149588f3014c1ff25013 (diff) | |
download | nixlib-a5302f3c791935ae096fd58084e7b15fd1663545.tar nixlib-a5302f3c791935ae096fd58084e7b15fd1663545.tar.gz nixlib-a5302f3c791935ae096fd58084e7b15fd1663545.tar.bz2 nixlib-a5302f3c791935ae096fd58084e7b15fd1663545.tar.lz nixlib-a5302f3c791935ae096fd58084e7b15fd1663545.tar.xz nixlib-a5302f3c791935ae096fd58084e7b15fd1663545.tar.zst nixlib-a5302f3c791935ae096fd58084e7b15fd1663545.zip |
Merge pull request #17313 from vrthra/kakoune
kakoune: init at 2016-07-26
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/editors/kakoune/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/applications/editors/kakoune/default.nix b/pkgs/applications/editors/kakoune/default.nix new file mode 100644 index 000000000000..d45fdc8e12d6 --- /dev/null +++ b/pkgs/applications/editors/kakoune/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchFromGitHub, ncurses, boost, asciidoc, docbook_xsl, libxslt }: + +with stdenv.lib; + +stdenv.mkDerivation rec { + name = "kakoune-nightly-${version}"; + version = "2016-07-26"; + src = fetchFromGitHub { + repo = "kakoune"; + owner = "mawww"; + rev = "0d2c5072b083a893843e4fa87f9f702979069e14"; + sha256 = "01qqs5yr9xvvklg3gg45lgnyh6gji28m854mi1snzvjd7fksf50n"; + }; + buildInputs = [ ncurses boost asciidoc docbook_xsl libxslt ]; + + buildPhase = '' + sed -ie 's#--no-xmllint#--no-xmllint --xsltproc-opts="--nonet"#g' src/Makefile + export PREFIX=$out + (cd src && make ) + ''; + + installPhase = '' + (cd src && make install) + ''; + + meta = { + homepage = http://kakoune.org/; + description = "A vim inspired text editor"; + license = licenses.publicDomain; + maintainers = with maintainers; [ vrthra ]; + platforms = platforms.linux; + }; +} |