Commit Graph

33 Commits

Author SHA1 Message Date
Vincent Laporte
eec6d815c9 ocamlPackages.yojson: 2.2.2 → 3.0.0
ocamlPackages.atdgen-codec-runtime: 2.16.0 → 3.0.1
2025-12-12 06:35:52 +01: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
R. Ryantm
ad717476ad ocamlPackages.yojson: 2.2.1 -> 2.2.2 2024-06-28 15:04:39 +00:00
Ulrik Strid
6842e01f13 Merge pull request #318126 from r-ryantm/auto-update/ocamlPackages.yojson
ocamlPackages.yojson: 2.2.0 -> 2.2.1
2024-06-25 15:59:30 +02: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
R. Ryantm
0256192dfc ocamlPackages.yojson: 2.2.0 -> 2.2.1 2024-06-07 22:25:12 +00:00
Vincent Laporte
a5632e327c ocamlPackages.yojson: 2.1.2 → 2.2.0 2024-05-31 16:14:01 +02:00
R. Ryantm
95c00e3624 ocamlPackages.yojson: 2.1.1 -> 2.1.2 2023-12-17 08:18:44 +00:00
Vincent Laporte
a9c0720daf ocamlPackages.yojson: 2.1.0 → 2.1.1 2023-10-24 08:52:15 +02:00
R. Ryantm
77a317d656 ocamlPackages.yojson: 2.0.2 -> 2.1.0 2023-05-07 19:10:04 +00:00
Vincent Laporte
f09f7f1778 ocamlPackages.yojson: 1.7.0 → 2.0.2
ocamlPackages.merlin: 3.4.2 → 3.8.0

ocamlPackages.merlin: 4.5 → 4.6

ocamlPackages.{atd,atdgen}: 2.9.1 → 2.10.0

ocamlPackages.elpi: fix build with atd 2.10.0
2022-08-29 08:10:02 +02:00
Malo Bourgon
b1de4bf60f ocamlPackages: add meta.mainProgram to many packages 2022-05-11 09:02:37 +02:00
Vincent Laporte
d89015db44 ocamlPackages.yojson: remove legacy version 1.2.3 2021-07-22 17:24:43 +02:00
Vincent Laporte
73487ea05e ocamlPackages.yojson: use Dune 2 2021-02-25 11:02:25 +01:00
sternenseemann
223474d8ac ocamlPackages.yojson: use dune install in installPhase 2021-01-21 11:26:26 +01:00
sternenseemann
4e42cac49d ocamlPackages: stdenv.lib → lib
This change was produced by searching for remaining occurrences of
stdenv.lib and replacing them manually.

Reference #108938.
2021-01-12 16:33:18 +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
Merijn Broeren
133103d709 treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
Matthew Bauer
0505c5125c Merge branch 'master' into static-fixes 2019-12-02 13:34:24 -05:00
c0bw3b
9367367dfd Treewide: fix URL permanent redirects
Permanent redirects on homepages and/or source URLs
as reported by Repology
2019-11-16 01:41:23 +01:00
Yorick van Pelt
4550405ac9 ocaml-modules: replace buildInputs with nativeBuildInputs where appropriate
The default has been to use buildInputs for build dependencies.
This doesn't work when cross-compiling.
2019-11-11 11:10:14 +03:00
R. RyanTM
fdb95b4d4d ocamlPackages.yojson: 1.6.0 -> 1.7.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/ocaml4.06.1-yojson/versions
2019-03-11 12:17:45 +01:00
Vincent Laporte
b60b304cef ocamlPackages.yojson: 1.4.1 -> 1.6.0 2019-02-20 10:41:53 +01:00
Vincent Laporte
fc19401d67 jbuilder: 1.0.1 -> dune: 1.1.1 2018-09-15 19:32:32 +00:00
R. RyanTM
1fa341fcc4 ocamlPackages.yojson: 1.4.0 -> 1.4.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/ocaml4.05.0-yojson/versions.

These checks were done:

- built on NixOS
- ran `/nix/store/k3c6sbqahg7xbrraipzbbbvkrncfbb78-ocaml4.05.0-yojson-1.4.1/bin/ydump --help` got 0 exit code
- ran `/nix/store/k3c6sbqahg7xbrraipzbbbvkrncfbb78-ocaml4.05.0-yojson-1.4.1/bin/ydump --help` and found version 1.4.1
- found 1.4.1 with grep in /nix/store/k3c6sbqahg7xbrraipzbbbvkrncfbb78-ocaml4.05.0-yojson-1.4.1
- directory tree listing: https://gist.github.com/45ad3b6379841d4750efc7dcfe6b602f
2018-03-31 11:44:41 +02:00
Vincent Laporte
d0c513b470 ocamlPackages.yojson: 1.3.3 -> 1.4.0 2017-11-27 17:00:15 +00:00
Vincent Laporte
97c5dfc55e ocamlPackages.yojson: 1.2.3 -> 1.3.3 2017-10-22 14:37:28 +00:00
Nicolas B. Pierron
72c6f8a140 Ensure that we can evaluate the platform attribute of ocaml packages. 2016-03-13 19:08:26 +00:00
Vincent Laporte
0b7fd5f621 ocaml-yojson: 1.1.8 -> 1.2.3 2015-11-30 18:07:36 +01:00
Vincent Laporte
857c13e1af Minor modifications of some ocaml packages:
adds myself as a maintainer
adds assertions to have evaluation errors rather than build errors
moves opam out of ocamlPackages, as it does not provide a library
2014-09-21 11:02:55 +01:00
Vincent Laporte
559c7cc2da yojson: propagate build inputs (as in PR #3404) 2014-08-19 18:41:16 +02:00
Vincent Laporte
9256136635 Adds yojson.
Yojson is an optimized parsing and printing OCaml library for the JSON
format, contributed by Martin Jambon.

Webpage: http://mjambon.com/yojson.html
2014-07-05 09:00:12 +02:00