Commit Graph

91 Commits

Author SHA1 Message Date
superwhiskers
6004393057 kakounePlugins.kak-ansi: 0.2.4 -> 0.3.0 2026-06-15 15:06:53 -05:00
Jade Wilk
15a909e8d7 maintainers: add jade 2026-06-03 18:37:15 +01:00
Austin Horstman
fe52f190b9 vim/kakoune updaters: preserve src.tag metadata
Keep fetcher tag metadata when reading current plugin state from Nix.

The updater needs to know whether a plugin was fetched by tag or by commit.
Without carrying src.tag through, tagged sources are read back as if rev were
always the canonical source identifier, which breaks tag-aware comparisons and
cache behavior later in the update flow.
2026-04-19 10:04:57 -05:00
Aliaksandr
3f26693a02 various: use finalAttrs instead of rec 2026-02-18 04:21:56 +02:00
Ihar Hrachyshka
567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00
Emily
00c40f1069 python313Packages.nixpkgs-plugin-update: init from maintainer script
We have machinery for Python packaging, so let’s make use of
it. This also helps unblock moving `by-name` overrides out of
`all-packages.nix`, as it was previously being used to work around
`nixpkgs-vet` forbidding the direct reference to the path.
2025-10-20 19:32:57 +01:00
Wolfgang Walther
90e7159c55 treewide: remove unused rec
Auto-fix by nixf-diagnose.
2025-10-05 10:49:12 +02:00
NAHO
c8d4dabc43 pkgs: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --type file \
      . \
      pkgs \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2025-10-04 19:02:37 +02:00
mivorasu
ee0866bddd treewide: conform descriptions to the standards 2025-07-28 04:39:00 +00:00
TomaSajt
398b16e16c treewide: remove useFetchCargoVendor usages 2025-07-26 11:39:35 +02:00
Winter
a19cd4ffb1 Revert "treewide: replace rev with tag"
This reverts commit 65a333600d.

This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.

It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).

A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.

[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d treewide: replace rev with tag 2025-04-07 16:57:22 +02:00
Sigmanificient
91d5ab3ae4 treewide: remove unused rec expressions 2025-03-14 05:15:05 +01:00
Alyssa Ross
47a37942ad kakounePlugins.hop-kak: useFetchCargoVendor
Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes.  It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.
2025-01-26 16:39:33 +01:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
PerchunPak
3c2cc3049d pluginupdate.py: use newer syntax for types 2024-11-10 16:53:32 +01:00
PerchunPak
ecee72e247 pluginupdate.py: add support for adding/updating individual plugins 2024-11-10 01:42:51 +01:00
PerchunPak
a6fe798a01 pluginupdate.py: fix bugs and add improvements
I fixed many hidden bugs and made some small improvements. The main
reason this was separated from #336137 is to fix the sorting issue.

Before this commit, sorting for Vim plugins was broken and worked by
what was fetched first. This is because the sorting was done by empty
strings (the default value in CSV is not None but an empty string). This
PR fixes it and also moves sorting from the user to the library (from
`vim/plugins/update.py` to `pluginupdate.py`) to prevent such weird
issues and duplication of code.
2024-11-09 00:20:38 +01:00
PerchunPak
8b503ec432 pluginupdate.py: reformat with ruff
Ruff - an extremely fast Python linter and code formatter, written in Rust.
2024-11-09 00:20:38 +01:00
Philip Taron
729237c163 kakounePlugins: remove with statements
As I'm the maintainer, I also removed `with overridden`.
2024-08-18 06:31:11 -07:00
Philip Taron
0422fbcf36 Merge pull request #328730 from philipwilk/catppuccin-kakoune
kakounePlugins.kakoune-catppuccin: init at 2024-03-29
2024-08-15 05:55:53 -07:00
Philip Wilk
3212a37196 kakounePlugins.kakoune-catppuccin: init at 0-unstable-2024-03-29 2024-08-15 13:28:08 +01:00
Philip Taron
f06a5d1cd4 Merge pull request #328538 from antholeole/oleina/hopkak
kakounePlugins.hop-kak: init at 0.2.0
2024-08-04 18:12:58 -07:00
Philip Taron
2f3e77e1f2 kakoune: add philiptaron as maintainer to most kakoune-related things 2024-08-01 18:06:40 -07:00
oleina
1d4821cd65 kakounePlugins.hop-kak: init at 0.2.0 2024-07-28 12:10:52 -07:00
V
dcfecc9bbb kakoune-lsp: 15.0.1 -> 16.0.0
The project renamed from "kak-lsp" in this version. Command and config
file paths remain the same, at least for now.

Change-Id: I7cbce56096bac5d4c68c2e9d4effd11f51b7bbf5
2024-04-01 03:27:28 +02:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Aleksey Mikhaylov
72e5e4ea54 kakounePlugins: updated the 10-22-2023 2023-10-22 16:48:15 +03:00
Victor Engmark
625e6657c1 kakoune: Remove no-op if/else
Presumably copy/pasted from `maintainers/scripts/pluginupdate.py`.
2023-06-15 10:59:24 +12:00
Matthieu Coudron
351cec5db3 use subcommands in plugin updaters (#223164)
* update.py: introduce subparsers for plugin updaters

This is preliminary work to help create more powerful plugin updaters.
Namely I would like to be able to "just add" plugins without refreshing
the older ones (helpful when github temporarily removes a user from
github due to automated bot detection).

Also concerning the lua updater, we pin some of the dependencies, and I
would like to be able to unpin the package without editing the csv
(coming in later PRs).

* doc/updaters: update command to update editor plugins

including vim, kakoune and lua packages

Co-authored-by: figsoda
2023-04-14 22:02:17 +02:00
Andrew Abbott
dcca1f7841 kakounePlugins: add generated updated input file 2023-01-28 09:29:52 +11:00
Andrew Abbott
d935f53e71 kakounePlugins: update 2023-01-28 09:29:52 +11:00
Andrew Abbott
dd13d8c7e4 kakoune: Update plugin list
Added some plugins I use, fixed the reference to one, and removed ones
that are no longer available.
2023-01-28 09:29:52 +11:00
Andrew Abbott
2df2a508dc kakounePlugins: Fix update.py
I tried to run this and it failed. These changes made it work again.

I looked at maintainers/scripts/pluginupdate.py and how the types
differed to make this fix.
2023-01-28 09:29:52 +11:00
figsoda
ec8cb34358 treewide: fix typos 2022-12-17 19:39:44 -05:00
Fabian Affolter
24b181fd2f kakoune: rename GitPython 2022-12-05 21:48:16 +01:00
Matthieu Coudron
d396c7d316 Merge pull request #166941 from teto/vim-plugins-toml 2022-04-05 09:33:40 +02:00
Matthieu Coudron
69daee8243 kakounePlugins: update 2022-04-03 18:14:14 +02:00
Robert Hensing
200175a701 config.allowAliases: Define as option
This simplifies usages and makes the default value consistent.

In a few cases, the default value was interpreted to be `false`,
but this is useless, because virtually nobody will explicitly
set `allowAliases = true;`.
2022-04-01 11:33:10 +02:00
Matthieu Coudron
6f3482f640 update.py: fix for kakoune/luarocks 2022-03-08 10:53:11 +01:00
figsoda
5aaa5f5e75 pluginupdate.py: fix compatibility with nix 2.4 2021-11-13 17:33:43 +01:00
Sandro Jäckel
8547db919a treewide: switch `builtins.fromJSON(builtins.readFile ./file.json)` to lib.importJSON ./file.json 2021-11-03 14:43:52 +01:00
Matthieu Coudron
8ddad244ea update-luarocks-packages: use pluginupdate.py
Cleans up the common interface between the updaters.
Restores the ability to regen the lua packages in parallel.
2021-08-12 01:14:58 +02:00
Sandro
d5bd34ebf2 treewide: convert phases that contain ":" to dont* = true (#130500) 2021-07-18 23:42:48 +02:00
Jason Felice
2d5cb58f4b kak-ansi: 0.2.3 -> 0.2.4 2021-05-10 15:29:57 -04:00
SEbbaDK
eb4d997f07 kakounePlugins: add kakboard (#120264) 2021-04-23 02:05:44 +02:00
"SEbbaDK"
8416de5475 kakounePlugins: update 2021-04-16 19:31:10 +02:00
SEbbaDK
12d590ba3d kakounePlugins: Add pandoc.kak 2021-04-16 19:30:40 +02:00
Sandro
61d017abdf Merge pull request #116485 from Flakebi/kakoune 2021-03-27 02:40:12 +01:00
Flakebi
188b23fb32 kakounePlugins: resolve github repository redirects 2021-03-22 22:53:16 +01:00