Commit graph

65 commits

Author SHA1 Message Date
github-actions[bot]
d8f2a7bf5c
Merge master into staging-next 2021-02-22 00:37:52 +00:00
Ashish SHUKLA
81b7b0be4f
kak-lsp: 8.0.0 -> 9.0.0
While here, also add to kakounePlugins
2021-02-19 20:01:43 +05:30
Ben Siraphob
e03c068af5 treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
Alyssa Ross
d6529dd53e
kakoune: enable parallel building
Tested at -j4.
2021-02-10 00:38:37 +00:00
Ashish SHUKLA
f3817932c9
kak-powerline: add missing lib argument 2021-01-24 00:28:07 +05:30
Ashish SHUKLA
601080d7c5
kak-buffers: add missing lib argument 2021-01-24 00:27:39 +05:30
Ashish SHUKLA
ad2b6d98bf
kak-vertical-selection: add missing lib argument 2021-01-24 00:27:09 +05:30
Robert Helgesson
7742f1c67b
kak-prelude: add missing lib argument 2021-01-20 19:02:30 +01:00
Jason Felice
a1bb960c13 kakounePlugins.quickscope-kak: Fix stdenv.lib -> lib breakage 2021-01-19 10:57:34 -05: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
Sandro
a6ff47644b
Merge pull request #96461 from loewenheim/kak-powerline
kak-powerline: 2019-07-23 -> 2020-08-22
2021-01-18 20:22:45 +01:00
Sandro
79fa5c1c45
Merge pull request #107033 from malte-v/kak-prelude-update
kakounePlugins.kak-prelude: 2020-03-15 -> 2020-09-06
2021-01-18 20:20:22 +01:00
Lars Mühmel
f4d0aad708 kakoune.plugins.kak-auto-pairs: fix lib 2021-01-18 18:39:54 +01:00
Jonathan Ringer
68fcde294d kakoune.plugins.kak-fzf: fix assertion 2021-01-18 01:45:34 -08:00
Ben Siraphob
badf51221d treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
Anderson Torres
956afcd713
Merge pull request #106548 from eraserhd/quickscope-kak
kakounePlugins.quickscope-kak: init at 1.0.0
2021-01-14 10:26:31 -03:00
Sandro
724887c85e
Merge pull request #107772 from nrdxp/kak-fzf
kak-fzf: 2020-05-24 -> 2020-07-26
2021-01-11 19:09:03 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Timothy DeHerrera
0cf9d539be
kak-fzf: 2020-05-24 -> 2020-07-26 2020-12-27 18:40:35 -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
Sebastian Zivota
53cc6bbce3 kak-powerline: 2019-07-23 -> 2020-08-22
Moreover, the original repository is unmaintained. I changed it
to the current maintainer's fork.
2020-12-20 19:01:24 +01:00
Malte Voos
2c1f5efd3a kakounePlugins.kak-prelude: 2020-03-15 -> 2020-09-06 2020-12-16 15:36:50 +01:00
Jason Felice
4c486c1314 kakounePlugins.quickscope-kak: init at 1.0.0 2020-12-10 07:34:43 -05:00
Anderson Torres
77f29c6e22
Merge pull request #103969 from eraserhd/openscad.kak
kakounePlugins.openscad-kak: init at unstable-2020-11-16
2020-11-30 22:45:11 -03:00
Sandro
36ff5e89c9
Merge pull request #93933 from buffet/kak-auto-pairs-update
Kak auto pairs update
2020-11-29 04:18:38 +01:00
Sandro
9ead4e3b17
Merge pull request #102470 from sgraf812/patch-1
case.kak.nix: Update description
2020-11-25 03:07:56 +01:00
Jason Felice
08a6eed624 kakounePlugins.openscad-kak: init at unstable-2020-11-16 2020-11-24 08:49:06 -05:00
buffet
0916fa453e kak-prelude: Fix installation path 2020-11-15 21:42:11 +00:00
Kevin Cox
8ab0db800e
Merge pull request #101766 from eraserhd/rep-for-kakoune
kakounePlugins.rep: inherit from rep
2020-11-02 09:47:34 -05:00
Sebastian Graf
5e9dab5b2d
Update description of case.kak.nix
Probably Copy and pasted from `kak-buffers.nix`.
2020-11-02 12:14:32 +01:00
Daniel Gorin
464804b43f kakoune: Fix :doc when using plugins
So, kakoune takes the documentation shown for `:doc` from
`$KAKOUNE_RUNTIME/share/kak/doc`. Unfortunately, it seems
that it will ignore files that are symlinks. This is arguably
a bug in kakoune, we workaround it for now by copying the
content of the docfiles.
2020-11-01 14:35:49 +00: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
Jason Felice
03faeaa8b3 kakounePlugins.rep: inherit from rep 2020-10-26 10:00:28 -04:00
buffet
d7fc4fe281 kak-auto-pairs: 2019-07-27 -> 2020-07-14 2020-07-26 18:12:56 +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
Jason Felice
6bdf265bb6 case-kak: init at unstable-2020-04-06 2020-08-27 10:02:59 +00:00
buffet
5897bf1f60 kak-fzf: 2019-07-16 -> 2020-05-24 2020-08-16 19:50:21 +00:00
buffet
5aeff94693 kak-prelude: init at 2020-03-15 2020-08-16 10:50:18 +00: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
Matthew Bauer
237c69622b
Merge pull request #69317 from eraserhd/pr/master/kak-plumb
kakounePlugins.kak-plumb: init at 0.1.1
2019-11-07 17:38:39 -05:00
Jason Felice
b4b5dd14a1 kakounePlugins.kak-plumb: init at 0.1.1 2019-10-29 21:45:48 -04:00
Ricardo M. Correia
25e4165d43 kakounePlugins: fix license names
The license names seemed to be incorrect according to the upstream repos.
2019-10-07 17:25:10 +02:00
Jason Felice
44d32929f6 kakounePlugins.kak-ansi: init at 0.2.1 2019-09-09 19:54:04 +00:00
Timothy DeHerrera
0b32fe2d7e kakounePlugins: Add 5 kakoune plugins (#67593)
* kakounePlugins: Add 5 kakoune plugins

Should be compatible with
https://github.com/NixOS/nixpkgs/pull/64310

* kak-auto-pairs: for automatic closing of pairs
* kak-buffers: for easier buffer management
* kak-fzf: for fzf integration
* kak-powerline: for a prettier modeline
* kak-vertical-selection: for easy vertical selections

* kakounePlugins: alphabetize package list

* kakounePlugins.kak-fzf: add ability to choose between fzf/skim

* kakounePlugins.kak-powerline: substitute full path to git binary
2019-09-03 22:54:37 +02: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