kakoune: init at 2016-07-26
This commit is contained in:
parent
381967327f
commit
1db375ebd9
2 changed files with 35 additions and 0 deletions
33
pkgs/applications/editors/kakoune/default.nix
Normal file
33
pkgs/applications/editors/kakoune/default.nix
Normal file
|
@ -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;
|
||||||
|
};
|
||||||
|
}
|
|
@ -2178,6 +2178,8 @@ in
|
||||||
|
|
||||||
kalibrate-rtl = callPackage ../tools/misc/kalibrate-rtl { };
|
kalibrate-rtl = callPackage ../tools/misc/kalibrate-rtl { };
|
||||||
|
|
||||||
|
kakoune = callPackage ../applications/editors/kakoune { };
|
||||||
|
|
||||||
kbdd = callPackage ../applications/window-managers/kbdd { };
|
kbdd = callPackage ../applications/window-managers/kbdd { };
|
||||||
|
|
||||||
kdbplus = callPackage_i686 ../applications/misc/kdbplus { };
|
kdbplus = callPackage_i686 ../applications/misc/kdbplus { };
|
||||||
|
|
Loading…
Reference in a new issue