diff options
author | Rahul Gopinath <rahul@gopinath.org> | 2016-07-27 11:02:24 -0700 |
---|---|---|
committer | Rahul Gopinath <rahul@gopinath.org> | 2016-07-27 15:14:06 -0700 |
commit | 1db375ebd95c174b0782149588f3014c1ff25013 (patch) | |
tree | 84e40e822cc117d36ea445c9c5539a84342d4bf8 /pkgs | |
parent | 381967327ff7e9885a6ebd32b13580a8a95ee5fc (diff) | |
download | nixpkgs-1db375ebd95c174b0782149588f3014c1ff25013.tar nixpkgs-1db375ebd95c174b0782149588f3014c1ff25013.tar.gz nixpkgs-1db375ebd95c174b0782149588f3014c1ff25013.tar.bz2 nixpkgs-1db375ebd95c174b0782149588f3014c1ff25013.tar.lz nixpkgs-1db375ebd95c174b0782149588f3014c1ff25013.tar.xz nixpkgs-1db375ebd95c174b0782149588f3014c1ff25013.tar.zst nixpkgs-1db375ebd95c174b0782149588f3014c1ff25013.zip |
kakoune: init at 2016-07-26
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/editors/kakoune/default.nix | 33 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/applications/editors/kakoune/default.nix b/pkgs/applications/editors/kakoune/default.nix new file mode 100644 index 00000000000..d45fdc8e12d --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e29f3733ec9..71edecff992 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2178,6 +2178,8 @@ in kalibrate-rtl = callPackage ../tools/misc/kalibrate-rtl { }; + kakoune = callPackage ../applications/editors/kakoune { }; + kbdd = callPackage ../applications/window-managers/kbdd { }; kdbplus = callPackage_i686 ../applications/misc/kdbplus { }; |