Commit Graph

39 Commits

Author SHA1 Message Date
Vincent Laporte
93186429f2 ocamlPackages.camlimages: drop camlimages.lablgtk2 2026-07-23 15:57:41 +02:00
Guy Chronister
7572946128 ocamlPackages.camlimages: migrate to finalAttrs 2026-01-31 14:37:03 +00: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
Vincent Laporte
507f7e455c ocamlPackages.camlimages: 5.0.4 → 5.0.5 2025-02-21 10:55:11 +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
Dimitrije Radojević
1287f06155 ocamlPackages.janestreet: 0.16 -> 0.17 (#329201) 2024-08-08 21:38:40 +02:00
Vincent Laporte
89de0d84ce ocamlPackages.camlimages: fix build with OCaml ≥ 5.0 2023-11-06 00:18:25 +01:00
Vincent Laporte
449e1cf294 ocamlPackages.camlimages: use Dune 3 2023-05-02 16:25:00 +02:00
Vincent Laporte
1bf51415ba ocamlPackages.camlimages_4_2_4: remove broken 2023-03-06 18:23:23 +01:00
Ulrik Strid
f12b9ea461 buildDunePackage: default to strictDeps = true 2023-02-03 08:59:34 +01:00
Ulrik Strid
c53a63adf1 ocamlPackages treewide: strictDeps all packages 2023-02-03 08:59:34 +01: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
Vincent Laporte
0250669c66 ocamlPackages.camlimages_4_2_4: fix build 2022-02-14 14:06:42 +01:00
sternenseemann
17dc76ca7c ocamlPackages.camlimages_4_1_2: remove at 4.1.2
This was only used for glsurf which no longer needs it.
2021-06-23 14:52:32 +00:00
sternenseemann
638e73de83 ocamlPackages.camlimages_4_2_4: init at 4.2.4
Version of camlimages which works above OCaml 4.02, but also below 4.06.
2021-06-23 14:52:32 +00:00
Alyssa Ross
892d3fd7a0 ocamlPackages.camlimages_4_1: fix meta
I should have changed meta.branch in 70e33e3ae3 ("glsurf: use current giflib"),
but I overlooked it.

The bitbucket URL doesn't seem to exist any more, so I've updated the
homepage to the GitLab repository we fetch the sources from.

Fixes: 70e33e3ae3 ("glsurf: use current giflib")
2021-04-23 00:00:20 +02:00
Alyssa Ross
70e33e3ae3 glsurf: use current giflib
This requires bumping the version of camlimages used by glsurf to a
version that supports current giflib.  The most recent versions of
camlimages (even of 4.x) don't support ocaml 4.01 any more, so I've
upgraded to 4.1.2 here, the last version that supports ocaml 4.01 (and
which happily supports current giflib).
2021-04-16 14:06:10 +00: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
e5e032a532 ocamlPackages.camlimages: 5.0.3 → 5.0.4 2020-11-17 08:22:37 +01:00
Vincent Laporte
6742cc7660 ocamlPackages.camlimages: remove at 4.1.2 2020-10-16 12:33:38 +02:00
Vincent Laporte
0385e6094f ocamlPackages.camlimages: 5.0.1 → 5.0.3 2020-10-16 12:33:38 +02:00
Michael Reilly
84cf00f980 treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Vincent Laporte
0c9abf6436 ocamlPackages.camlimages: 5.0.0 -> 5.0.1 2018-12-07 04:22:10 +00:00
Théo Zimmermann
794158fcd5 buildDunePackage: new support function; use it to refactor some OCaml derivations 2018-11-07 10:08:03 +01:00
Vincent Laporte
fc19401d67 jbuilder: 1.0.1 -> dune: 1.1.1 2018-09-15 19:32:32 +00:00
Vincent Laporte
354dedfec3 ocamlPackages.camlimages_4_1: disable for OCaml ≥ 4.06 2018-08-29 12:49:39 +00:00
Masayuki Takeda
222dcf4a6b fix maintainers 2018-03-07 23:39:47 +09:00
Masayuki Takeda
b2c8f8be81 add meta-attrs 2018-03-07 23:17:28 +09:00
Masayuki Takeda
3f73823117 camlimages: 4.1.2 -> 5.0.0 2018-03-07 19:09:32 +09:00
Vincent Laporte
3d804da983 camlimages: use omake rather than omake_rc1 2016-12-02 19:49:08 +00:00
Vincent Laporte
3d049938c8 Adds some “branch” meta-data 2014-11-06 19:40:50 +00:00
Vincent Laporte
c216448075 camlimages: update from 4.0.1 to 4.1.2
Previous version 4.0.1 is kept for OCaml 3.12
2014-11-01 08:37:40 +00:00
Vincent Laporte
ef169ca69d camlimages: fixes the spelling of propagatedBuildInputs 2014-10-08 20:23:30 +02:00
Mateusz Kowalczyk
7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
Mathijs Kwik
0b17251c06 libpng: keep versioning in all-packages.nix, not in individual expressions 2013-06-27 21:35:21 +02:00
Mathijs Kwik
7f413e4d5c whitespace cleaning 2013-06-27 21:35:21 +02:00
Christophe Raffalli
101aad1467 camlimages ... still wasn't ok. Now better. 2013-06-19 04:39:55 +02:00
Christophe Raffalli
ce2efd0b5b fixed dependencies of camlimages 2013-06-16 22:33:44 +02:00
Christophe Raffalli
270d929089 New ocaml packages:
- ocaml-cairo
- camlimages
- dypgen
- patoline
2013-06-07 21:40:38 +02:00