Commit Graph

34 Commits

Author SHA1 Message Date
David Yamnitsky
b8a0a333e5
Add mainProgram to kakoune 2021-12-17 11:30:01 -08:00
Luflosi
6661cb0887
kakoune: 2021.10.28 -> 2021.11.08
https://github.com/mawww/kakoune/releases/tag/v2021.11.08
2021-11-07 11:58:41 +01:00
Luflosi
52dd13c633
kakoune: 2021.08.28 -> 2021.10.28
https://github.com/mawww/kakoune/releases/tag/v2021.10.28
2021-10-28 15:57:24 +02:00
Jörg Thalheim
56feed592e kakoune: remove pkg-config, cleanup preConfigure 2021-08-31 09:23:15 +02:00
Joshua Trees
b544112862 kakoune: simplify derivation
The dependencies and the sed patch appear to be redundant by now.
2021-08-30 16:40:23 +02:00
Joshua Trees
a461d064cb kakoune: 2020.09.01 -> 2021.08.28 2021-08-29 22:36:44 +02:00
Alyssa Ross
d6529dd53e
kakoune: enable parallel building
Tested at -j4.
2021-02-10 00:38:37 +00:00
Jonathan Ringer
9bb3fccb5b treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix
continuation of #109595

pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.

python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.
2021-01-19 01:16:25 -08:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Cole Helbling
9b3fe2eef4
kakoune: fix installCheck
* `doInstallCheckPhase` -> `doInstallCheck`
* `-E` throws an exception that is uncaught, leading the check to fail.
`-e` works as expected.
2020-12-21 16:21:22 -08:00
Daniel Gorin
550389392a kakoune: rework plugin support
The previous implementation of plugin-support for the kakoune derivation
was based on generating, at build time, a `plugins.kak` file that would
source all .kak files in the list of plugins, and wrap the `kak` binary
in a script that would add some command-line arguments so that this
file gets loaded on start-up. The main problem with this approach
is that the plugins' code get executed *after* the user's configuration
file is loaded, so effectively one cannot automatically activate/configure
these plugins.

The idiomatic way of loading plugins is ensuring they end up installed
somwhere under `share/kak/autoload`. Because plugins are already being
packaged to have their code in `share/kak/autoload/plugins/<name-of-plugin>`,
we can obtain a derivation that includes the plugins simply by doing a
`symlinkJoin` of `kakoune-unwrapped` and all the requested plugins.

For this to work, we need to fix two issues:

  1. By default, kakoune makes `share/kak/autoload` a symbolic link to
     `share/kak/rc`, which contains all builtin definitions. We need
     to patch this to put the symlink under `share/kak/autoload/rc`, so that
     the join works.

  2. By default kakoune expects the `autoload` directory to be in
     `../share/kak/autoload` relative to the location of the `kak` binary.
     We need to set the `KAKOUNE_RUNTIME` to point the symlinked
     share/kak for this to work.
2020-11-01 14:35:49 +00:00
Luflosi
0bfd16a1dd
kakoune: 2020.08.04 -> 2020.09.01
https://github.com/mawww/kakoune/releases/tag/v2020.09.01
2020-09-01 13:17:55 +02:00
Luflosi
c10e5168ac
kakoune: 2020.01.16 -> 2020.08.04
https://github.com/mawww/kakoune/releases/tag/v2020.08.04
2020-08-04 12:34:34 +02:00
Michael Reilly
e20f308b8e treewide: quoted urls for RFC45, only the rebuilds 2020-04-05 10:17:15 -04:00
Luflosi
5c000e983c kakoune: 2019.12.10 -> 2020.01.16 2020-01-16 14:53:08 +00:00
Luflosi
8636580d6f kakoune: 2019.07.01 -> 2019.12.10 2019-12-16 14:07:13 +00:00
Jason Felice
f3ea1c8238 kakoune: 2019.01.20 -> 2019.07.01 2019-08-06 14:46:42 +00:00
Jason Felice
2a911454d3 kakoune: support for adding plugins
Motivation: There is a thriving plugin ecosystem for Kakoune now,
and it is nice to add these in our Nix configurations. This was modeled
on neovim's plugins.

parinfer-rust is useable both standalone and as a Kakoune plugin,
so the plugin file inherits the same definition as pkgs.

I'll make PRs for other plugins if this gets accepted.
[Here](https://github.com/eraserhd/nixpkgs/tree/kak-ansi)'s a tested
branch for the `kak-ansi` plugin.
2019-06-25 17:17:08 -04:00
Alyssa Ross
7226ab9084
kakoune: remove inaccurate "unstable" from name 2019-02-18 16:52:34 +00:00
R. RyanTM
955f212d69 kakoune: 2018.10.27 -> 2019.01.20
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/kakoune-unstable/versions
2019-01-28 05:27:36 -08:00
Utku Demir
461c9d783c kakoune: override 'version' env var
* kakoune: Prefix version with 'v' (#50617)

Turns out there's some tooling parsing the version number and having a
'v' prefix works better in that case.

I tested that it builds & works fine on NixOS.

See: https://github.com/ul/kak-lsp/issues/99

* Override 'version' env variable
2018-11-20 23:57:39 +01:00
R. RyanTM
25617e0440 kakoune: 2018.09.04 -> 2018.10.27
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/kakoune-unstable/versions
2018-11-09 15:26:07 -08:00
Utku Demir
c90f96ad32
kakoune: 2018.08.05 -> 2018.09.04 2018-09-06 09:12:12 +12:00
Utku Demir
1f00380cfa kakoune: 2018-05-21 -> 2018-08-05 (#44706) 2018-08-09 00:28:19 +02:00
volth
52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Grigoriy Dmitriev
e4ed1d343e Kakoune version updated 2018-03-22 -> 2018-05-21, debug mode disabled 2018-05-21 22:41:00 +03:00
gspia
05eafd27b1 kakoune: 2018-02-15 -> 2018-03-22 (#37617) 2018-03-22 12:12:27 +00:00
Henri Jones
9d580c3a6e kakoune: 2017-04-12 -> 2018-02-15 2018-02-17 19:43:33 +00:00
Will Dietz
0a70dc6fd1 kakuone: add pkgconfig to appease warning 2018-02-13 09:44:31 -06:00
Michael Leandersson
15bb499df9
kakoune: 2017-02-09-> 2017-04-12
fixes #24847
fixes #24738
2017-04-13 14:04:56 +02:00
Rahul Gopinath
4f74f9158a kakoune: 2016-12-30 -> 2017-02-09 2017-02-10 14:06:28 -08:00
Dmitry Kalinkin
9a5e34faca
kakoune: 2016-12-10 -> 2016-12-30, fix on Darwin 2016-12-30 14:27:49 -05:00
Aristid Breitkreuz
78ffee7f06 kakoune: update 2016-07-26 -> 2016-12-10 2016-12-13 20:57:35 +01:00
Rahul Gopinath
1db375ebd9 kakoune: init at 2016-07-26 2016-07-27 15:14:06 -07:00