33 Commits

Author SHA1 Message Date
eljamm 25c1ae0ad9 ocamlPackages.{camlpdf,cpdf}: add ngi team, update script & changelog 2026-06-17 09:49:48 +02:00
eljamm bcad28ebf4 ocamlPackages.{camlpdf,cpdf}: 2.9 -> 2.9.1
- camlpdf:
    - diff: https://github.com/johnwhitington/camlpdf/compare/v2.9...v2.9.1
    - changelog: https://github.com/johnwhitington/camlpdf/blob/refs/tags/v2.9.1/Changes.txt
- cpdf:
    - diff: https://github.com/johnwhitington/cpdf-source/compare/v2.9...v2.9.1
    - changelog: https://github.com/johnwhitington/cpdf-source/blob/refs/tags/v2.9.1/Changes.txt
2026-06-17 09:49:14 +02:00
Vincent Laporte cfebbf050e ocamlPackages.cpdf: 2.8.1 → 2.9
ocamlPackages.camlpdf: 2.8.1 → 2.9
2026-03-17 21:44:05 +01:00
Vincent Laporte 914aa19bdf ocamlPackages.camlpdf: 2.8 → 2.8.1
ocamlPackages.cpdf: 2.8 → 2.8.1
2026-01-05 22:40:38 +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
jopejoe1 1e1cef625b ocamlPackages: swap throws to meta.broken
throws no longer work with the current ci we have in nixpkgs
2025-10-18 22:23:06 +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
Vincent Laporte bafca6cbe1 ocamlPackages.cpdf: 2.7.1 → 2.8 (#376363) 2025-01-24 11:51:00 +00: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 https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Vincent Laporte 2b1b03a338 ocamlPackages.camlpdf: 2.7 → 2.7.1
ocamlPackages.cpdf: 2.7 → 2.7.1 & update license
2024-08-21 21:54:04 +02:00
Vincent Laporte 43092bdad4 ocamlPackages.camlpdf: 2.6 → 2.7
ocamlPackages.cpdf: 2.6 → 2.7
2024-03-12 04:42:56 +01:00
Vincent Laporte abf1192620 ocamlPackages.camlpdf: 2.5 → 2.6
ocamlPackages.cpdf: 2.5.1 → 2.6
2023-08-11 08:36:27 +02:00
Vincent Laporte 2a1faef7db ocamlPackages.cpdf: 2.5 → 2.5.1 2023-07-11 23:54:42 +02:00
Malo Bourgon f7ef6329bb ocamlPackages: add meta.mainProgram to many packages 2022-05-14 11:31:07 +02:00
Malo Bourgon bca4ad0487 ocamlPackages: inherit ocaml.meta.platforms 2022-05-11 09:02:37 +02:00
Anders Kaseorg 6920d8ca42 treewide: Simplify negated uses of versionAtLeast, versionOlder
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-04-25 13:35:24 -07:00
Ulrik Strid a13cdfe520 ocamlPackages tree-wide: Move buildInputs that should be nativeBuildInputs
To keep this for the future we also strictDeps where possible, including for janePackages, topkg, oasis and ocamlbuild.
This makes some closures significantly smaller and makes cross compilation easier
2022-02-24 14:39:27 +01:00
Felix Bühler 464e9792ff treewide: rename name to pname&version (#158454)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-02-10 01:28:00 +01:00
Vincent Laporte 4dffb049c9 ocamlPackages.cpdf: fix hash 2022-02-01 17:30:06 +01:00
Vincent Laporte 0e4c2ff9b9 ocamlPackages.camlpdf: 2.4 → 2.5
ocamlPackages.cpdf: 2.4 → 2.5
2022-01-23 16:40:29 +01:00
Vincent Laporte c3d5131e30 ocamlPackages.{camlpdf,cpdf}: 2.3.1 → 2.4 2021-07-01 15:55:14 +02: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
Vincent Laporte 02ee825018 ocamlPackages.cpdf: 2.3 → 2.3.1 2020-08-27 08:10:33 +02:00
Michael Reilly 84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Vincent Laporte 2f43ae44c5 ocamlPackages.cpdf: 2.2.1 → 2.3 2019-09-30 21:52:34 +02:00
Mitsuhiro Nakamura acb5655bd6 ocamlPackages.{camlpdf,cpdf}: fix build 2019-05-23 10:11:13 +09:00
Jeff Ames 5051c68c73 cpdf: add license (#43229) 2018-07-08 22:11:19 +01:00
Samuel Dionne-Riel 7b97c8c0c8 treewide: homepage+src updates (found by repology, #33263) 2018-01-05 20:42:46 +01:00
Vincent Laporte 18a5e1522c ocamlPackages.{camlpdf,cpdf}: 2.1.1 -> 2.2.1 2017-01-20 06:37:48 +00:00
Tuomas Tynkkynen bac26e08db Fix lots of fetchgit hashes (fallout from #15469) 2016-06-03 17:17:08 +03: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 0b9e2f8798 Adds ocaml-cpdf
A range of tools to modify PDF files and a corresponding OCaml library

Homepage: http://www.coherentpdf.com/
2015-01-30 20:04:42 +01:00