Commit graph

19 commits

Author SHA1 Message Date
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