Commit Graph

29 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
Silvan Mosberger
374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Vincent Laporte
bafca6cbe1 ocamlPackages.cpdf: 2.7.1 → 2.8 (#376363) 2025-01-24 11:51:00 +00: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
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
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
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
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
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
Vincent Laporte
0e9e10936d ocamlPackages.camlpdf: 2.3 → 2.3.1 2020-08-27 08:10:33 +02:00
Vincent Laporte
6ff80288af ocamlPackages.camlpdf: also install native libraries 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
c2ef0a0875 ocamlPackages.camlpdf: 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
Vincent Laporte
18a5e1522c ocamlPackages.{camlpdf,cpdf}: 2.1.1 -> 2.2.1 2017-01-20 06:37:48 +00:00
Vincent Laporte
502c545865 ocaml-camlpdf: update from 1.7.2 to 2.1.1 2014-12-31 15:48:39 +01:00
Vincent Laporte
099d145590 Adds ocaml-camlpdf-1.7.2
OCaml library for reading, writing and modifying PDF files

Homepage: https://github.com/johnwhitington/camlpdf
2014-11-16 08:42:55 +00:00