Commit Graph

150 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
R. Ryantm
915ec9274c kakoune-unwrapped: 2026.04.12 -> 2026.05.21 2026-05-21 02:18:50 +00:00
Audrey Dutcher
a5d0a34cdb kakoune: 2025.06.03 -> 2026.04.12 (#509259) 2026-05-08 07:47:52 +00: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
Ashish SHUKLA
64e18cc080 kakoune: 2025.06.03 -> 2026.04.12 2026-04-12 13:03:58 +00: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
Philipp Jungkamp
3bef6e0642 kakoune: fix statically-linked and cross-compiled build
The kakoune Makefile does not use the c++ compiler specified by the
`CXX` environment variable and instead defaults to `c++` as the
executable name.

Override the Makefile `CXX` variable with the value from the stdenv
environment.
2025-07-04 23:22:26 +02:00
R. Ryantm
80c1e72855 kakoune-unwrapped: 2024.05.18 -> 2025.06.03 2025-06-03 07:43:32 +00: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
ae92f312bf treewide: use a consistent meta.priority default 2024-08-29 09:04:57 -07: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
Alois Wohlschlager
b3f4bfaba6 kakoune: restore the ability to find ambient programs
In e4da18a692, logic was added to the kakoune
wrapper to add a specific directory to the PATH. However, this accidentally
used the build-time value, thus breaking the ability of kakoune to find
programs on the system-wide PATH. Restore this ability by appending to the
run-time value.
2024-08-10 11:29:43 +02: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
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
oleina
1d4821cd65 kakounePlugins.hop-kak: init at 0.2.0 2024-07-28 12:10:52 -07:00
oleina
e4da18a692 kakoune: create a directory for bins that kakoune needs 2024-07-26 18:12:38 -07:00
Anderson Torres
9ffac6dc44 treewide: remove vrthra from meta.maintainers [all orphans]
Tracking issue: https://github.com/NixOS/nixpkgs/issues/290642

Inactive since 2017
2024-07-07 12:20:32 -03:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Ashish SHUKLA
42d7fd413c kakoune: 2024.05.09 -> 2024.05.18 2024-05-18 06:18:24 +00:00
Ashish SHUKLA
1f6513a145 kakoune: 2023.08.05 -> 2024.05.09
- switch to finalAttrs
- remove upstreamed patch
- move version to postPatch (props: @alois31)
2024-05-11 14:12:40 +00: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
Marco Rebhan
6bcb7fade4 kakoune: fix compiling with clang for macOS 2023-11-25 14:10:08 +01:00
Solène Rapenne
b55d20d7c4 treewide: remove myself as maintainer 2023-11-03 18:09:17 +01:00
Aleksey Mikhaylov
72e5e4ea54 kakounePlugins: updated the 10-22-2023 2023-10-22 16:48:15 +03:00
Masanori Ogino
6bc5f7dd87 kakoune-unwrapped: 2022.10.31 -> 2023.08.05
Version 2023.07.29 [1] contains feature additions and breaking changes
to the default key bindings.

Version 2023.08.05 [2] contains a bug fix.

[1]: https://github.com/mawww/kakoune/releases/tag/v2023.07.29
[2]: https://github.com/mawww/kakoune/releases/tag/v2023.08.05

Changes: https://github.com/mawww/kakoune/compare/v2022.10.31...v2023.08.05
Signed-off-by: Masanori Ogino <167209+omasanori@users.noreply.github.com>
2023-08-06 05:20:45 +09: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