Commit Graph

10 Commits

Author SHA1 Message Date
Guy Chronister
49507a566a ocamlPackages.ppx_deriving_protobuf: migrate to finalAttrs 2026-05-12 13:28:37 -05: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
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
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
Vincent Laporte
1cc79faa2e ocamlPackages.ppx_deriving_protobuf: use Dune 3 2023-05-02 16:25:02 +02:00
Ulrik Strid
661ee6b468 ocamlPackages treewide: Add missing inputs 2022-03-25 13:55:18 +01:00
Vincent Laporte
edf3a8376e ocamlPackages.ppx_deriving_protobuf: 2.7 → 3.0.0 2021-02-12 09:00:11 +01:00
Vincent Laporte
8f1302995e ocamlPackages.ppx_deriving: 4.5 → 5.1
ocamlPackages.ppx_deriving_yojson: 3.5.2 → 3.6.1

ocamlPackages.visitors: 20200210 → 20210127

ocamlPackages.pgocaml: disable for OCaml < 4.08

ocamlPackages.nocrypto: disable for OCaml < 4.08

ocamlPackages.lens: mark as broken

ocamlPackages.ppx_deriving_protobuf: mark as broken

Closes #108137
2021-01-31 14:15:46 +01:00
Vincent Laporte
2044e44cf4 ocamlPackages.ppx_deriving_protobuf: disable for OCaml ≥ 4.11 2020-11-27 08:30:24 +01:00
Vasiliy Yorkin
2b921136f0 ocamlPackages.ppx_deriving_protobuf: init at 2.7 2019-09-13 16:18:27 +00:00