3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

46 commits

Author SHA1 Message Date
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
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
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