Commit graph

841 commits

Author SHA1 Message Date
superherointj 050114362f ocamlPackages.unstrctrd: init 0.3 2021-10-26 22:42:22 +02:00
superherointj 153957a389 ocamlPackages.prettym: init 0.0.2 2021-10-26 22:42:22 +02:00
superherointj c255780e69 ocamlPackages.rosetta: init 0.3.0 2021-10-26 22:42:22 +02:00
superherointj 95068b4647 ocamlPackages.yuscii: init 0.3.0 2021-10-26 22:42:22 +02:00
superherointj 1f621984d4 ocamlPackages.uuuu: init 0.2.0 2021-10-26 22:42:22 +02:00
superherointj b397bd63b7 ocamlPackages.coin: init 0.1.3 2021-10-26 22:42:22 +02:00
Vincent Laporte 38d21595b8 ocamlPackages.ocaml_text: remove at 0.8
Package is currently broken and no other package depend on it
2021-10-25 07:57:47 +02:00
TG × ⊙ e753a9141a
ocamlPackages.ppx_deriving_yaml: init at 0.1.0 (#139635) 2021-10-19 08:25:50 +02:00
Jules Aguillon ab8489cc40
Upgrade ocamlPackages.yaml and add ocamlPackages.yaml-sexp (#142089)
* ocamlPackages.yaml: 2.1.0 -> 3.0.0

Also added the checkInputs.

* Add ocamlPackage.yaml-sexp 3.0.0

The part of yaml that requires sexplib is moved to a second package.
2021-10-18 17:56:20 +02:00
Francesco Gazzetta 0ad041e5bc ocamlPackages.color: init at 0.2.0 2021-10-16 19:12:56 +02:00
Ulrik Strid 2db064d028 ocamlPackages.tezos-*: 8.3 -> 10.2
ocamlPackages.lwt-canceler: 0.2 -> 0.3
ocamlPackages.json-data-encoding: 0.8 -> 0.10
ocamlPackages.data-encoding: 0.2.0 -> 0.4.0
ocamlPackages.ff-sig, ff-pbt: init at 0.6.1
ocamlPacakges.bls12-381: 0.3.15 -> 0.4.2

Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
2021-10-13 10:04:20 +02:00
Ulrik Strid 7054010222 ocamlPackages.pyml: init at 20210226
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
2021-10-13 10:04:20 +02:00
Ulrik Strid 993fe6176a ocamlPackages.tar: init at 1.1.0 2021-10-13 10:04:20 +02:00
Ulrik Strid b2c49d1d71 ocamlPackages.lwt-exit: init at 1.0
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
2021-10-13 10:04:20 +02:00
Ulrik Strid 8b247a73bd ocamlPackages.hashcons: init at 1.4 2021-10-13 10:04:20 +02:00
Ulrik Strid f470e6ddd9 ocamlPackages.getopt: init at 20120615
Co-authored-by: sterni <sternenseemann@systemli.org>
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
2021-10-13 10:04:20 +02:00
Delta 48eba3e35c ocamlPackages.lustre-v6: init at 6.103.3 2021-09-30 21:38:06 +02:00
Rudi Grinberg 073cc84c9b ocamlformat-rpc-lib: init at 0.19.0
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2021-09-30 21:30:06 +02:00
sterni c1e83d738d
ocamlPackages: update a bunch of libraries from the mirage universe (#132550)
* ocamlPackages.cstruct: 6.0.0 -> 6.0.1

https://github.com/mirage/ocaml-cstruct/releases/tag/v6.0.1

* ocamlPackages.tls: 0.13.2 -> 0.14.1

* ocamlPackages.letsencrypt: 0.2.5 -> 0.3.0

ocamlPackages.letsencrypt-dns: init at 0.3.0
ocamlPackages.letsencrypt-app: init at 0.2.5

https://github.com/mmaker/ocaml-letsencrypt/releases/tag/v0.3.0

* ocamlPackages.paf: 0.0.3 -> 0.0.5

ocamlPackages.paf-cohttp: init at 0.0.5
ocamlPackages.paf-le: init at 0.0.5

* ocamlPackages.conduit*: 4.0.0 -> 4.0.1

* ocamlPackages.git*: 3.4.0 -> 3.5.0

* ocamlPackages.{ipaddr, macaddr}: 5.1.0 -> 5.2.0

https://github.com/mirage/ocaml-ipaddr/releases/tag/v5.2.0

Co-Authored-By: TG ⊗ Θ <*@tg-x.net>

* jackline: unstable-2021-04-23 -> unstable-2021-08-10

* ocamlPackages.mirage-block-combinators: patch for cstruct 6.0.0

The patch is a trivial search and replace of Cstruct.len ->
Cstruct.length otherwise the build will fail due to deprecation warnings.

* ocamlPackages.x509: 0.14.0 -> 0.14.1

Co-authored-by: TG ⊗ Θ <*@tg-x.net>
2021-09-29 14:28:09 +02:00
Vincent Laporte 450c0ab5e7 ocaml-ng.ocamlPackages_4_13.ocaml: 4.13.0-rc2 → 4.13.0 2021-09-25 22:26:37 +02:00
Guillaume Girol 6ba20fa087 ocamlPackages.pp: init at 1.1.2 2021-08-27 13:38:37 +02:00
Mihai Fufezan 61ea3fe636 ocamlPackages.rfc7748: init at 1.0 2021-08-27 12:00:16 +02:00
Mihai Fufezan 843eebbd8e ocamlPackages.noise: init at 0.2.0 2021-08-27 12:00:16 +02:00
Mihai Fufezan dd37bf5d75 ocamlPackages.chacha: init at 1.0.0 2021-08-27 12:00:16 +02:00
Mihai Fufezan 38927fac53 ocamlPackages.callipyge: init at 0.2 2021-08-27 12:00:16 +02:00
Akshay 2fe4420941 ocamlPackages.ocaml-print-intf: init at 1.2.0 2021-08-27 07:38:37 +02:00
Joachim Breitner a825afdc3e ocamlPackages.vlq: init at 0.2.1 2021-08-26 14:11:44 +02:00
Guillaume Girol 308c004ace ocamlPackages.llvm: 8 -> 10, fix bytecode linking
Fixes #119532
2021-08-05 20:33:20 +02:00
Mario Rodas f7eb8b8c50 ocamlPackages.odoc-parser: init at 0.9.0 2021-07-29 05:00:19 +02:00
Vincent Laporte 8da4fa1e4b ocamlPackages.otoml: init at 0.9.0 2021-07-26 09:41:10 +02:00
sterni 4cf4f3c454 Revert "ocamlPackages.letsencrypt: 0.2.5 -> 0.3.0" 2021-07-25 16:45:09 +02:00
Luke Granger-Brown c53dafb2dc
Merge pull request #131333 from sternenseemann/letsencrypt-0.3.0
ocamlPackages.letsencrypt: 0.2.5 -> 0.3.0
2021-07-25 10:20:50 +01:00
Vincent Laporte 629e644af2 ocamlPackages.lwt: remove unnecessary dependency on OMP 2021-07-24 16:10:29 +02:00
sternenseemann 48ef7e38ce ocamlPackages.letsencrypt: 0.2.5 -> 0.3.0
ocamlPackages.letsencrypt-dns: init at 0.3.0
ocamlPackages.letsencrypt-app: init at 0.2.5

https://github.com/mmaker/ocaml-letsencrypt/releases/tag/v0.3.0
2021-07-24 14:59:55 +02:00
Ulrik Strid 5c96c4d284 ocamlPackages.tezos-*: init at 8.3
Init all tezos packages needed to build LIGO
2021-07-23 13:33:59 +02:00
Sylvain Fankhauser 463a41b868 comby: init at 1.5.1 2021-07-23 10:32:12 +02:00
Sylvain Fankhauser a38751eb69 ocamlPackages.mparser-pcre: init at 1.3 2021-07-23 10:32:12 +02:00
Vincent Laporte 9a0f9214cf ocamlPackages.ocaml-monadic: 0.4.1 → 0.5.0 2021-07-22 21:36:22 +02:00
Vincent Laporte dd19e6272e ocamlPackages.ocaml_http: remove at 0.1.5 2021-07-22 09:31:45 +02:00
Ulrik Strid 55d50f19bf
ocamlPackages.hacl-star: init at 0.3.2 (#130277)
ocamlPackages.hacl-star-raw: init at 0.3.2
2021-07-19 12:01:44 +02:00
Ulrik Strid 80bd1454bc
ocamlPackages.ringo: init at 0.5 (#130256)
ocamlPackages.ringo-lwt: init at 0.5
2021-07-19 09:27:53 +02:00
Ulrik Strid 77b1d5ef0e ocamlPackages.secp256k1-internal: init at 0.2.0 2021-07-16 08:36:05 +02:00
Ulrik Strid 56b1922df6 ocamlPackages.lwt-watcher: init at 0.1 2021-07-15 21:31:38 +02:00
Ulrik Strid 0f4cee585a
ocamlPackages.resto: init at 0.6.1 (#129522)
ocamlPackages.resto:  init at 0.6.1
ocamlPackages.resto-acl:  init at 0.6.1
ocamlPackages.resto-json:  init at 0.6.1
ocamlPackages.resto-directory:  init at 0.6.1
ocamlPackages.resto-cohttp:  init at 0.6.1
ocamlPackages.ezresto:  init at 0.6.1
ocamlPackages.ezresto-directory:  init at 0.6.1
ocamlPackages.resto-cohttp-server:  init at 0.6.1
ocamlPackages.resto-cohttp-client:  init at 0.6.1
ocamlPackages.resto-cohttp-self-serving-client:  init at 0.6.1
2021-07-15 09:34:54 +02:00
Ulrik Strid aee00346d8
ocamlPackages.bls12-381 (#129509)
ocamlPackages.ff: init at 0.4.0
tezos-rust-libs: init at 1.0
ocamlPackages.bls12-381: init at 0.3.15
2021-07-15 08:37:58 +02:00
Ulrik Strid a164e1d0a1
ocamlPackages.json-data-encoding: init at 0.8, ocamlPackages.data-encoding: init at 0.2.0 (#129444) 2021-07-12 11:29:43 +02:00
Ulrik Strid ed4cbb7b59 ocamlPackages.uecc: init at 0.3 2021-07-09 14:15:49 +02:00
Ulrik Strid 4c0834929c ocamlPackages.lwt-canceler: init at 0.2 2021-07-07 13:28:43 +02:00
github-actions[bot] 03ea42ab93
Merge master into staging-next 2021-07-02 12:01:08 +00:00
Ulrik Strid 752035e078
ocamlPackages.alcotest-mirage: init at 1.2.3 (#128601) 2021-07-02 10:50:12 +02:00
Ulrik Strid 483be376f7 ocamlPackages.routes: init at 0.9.1 2021-07-02 10:39:19 +02:00
github-actions[bot] 8f71a7f335
Merge staging-next into staging 2021-06-26 18:04:40 +00:00
Vincent Laporte a29a3981ef ocamlPackages.ocaml-migrate-parsetree: 2.1.0 → 2.2.0 2021-06-26 17:07:42 +02:00
github-actions[bot] 947012b992
Merge staging-next into staging 2021-06-26 00:09:11 +00:00
superherointj 93c194ef72 ocamlPackages.dose3: init 6.1 2021-06-25 21:28:40 +02:00
github-actions[bot] be086cc67b
Merge staging-next into staging 2021-06-25 12:06:08 +00:00
superherointj 955df801e8
ocamlPackages.ocamlgraph: 1.8.8 -> 2.0.0 (#126703)
ocamlPackages.ocamlgraph: 1.8.8 -> 2.0.0
ocamlPackages.ocamlgraph_gtk: init 2.0.0
framac: fix for ocamlgraph 2.0.0
2021-06-24 08:26:49 +02: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
superherointj ff17ccefee ocamlPackages.tls-async: init 0.13.2 2021-06-18 12:44:54 +02:00
superherointj 930ccdeade ocamlPackages.cstruct-async: init 6.0.0 2021-06-17 11:46:23 +02:00
superherointj 2efd63b87c ocamlPackages.reason-native: init 2020-07-18-a33f152
Adds 10 Reason Native packages:
    * reason-native-console
    * reason-native-dir
    * reason-native-file-context-printer
    * reason-native-fp
    * reason-native-pastel
    * reason-native-pastel-console
    * reason-native-qcheck-rely
    * reason-native-refmterr
    * reason-native-rely
    * reason-native-rely-junit-reporter
2021-06-16 17:47:58 +02:00
Vincent Laporte 0ae4fd5bc3 ocamlPackages.cstruct: remove at 1.9.0 for OCaml < 4.02
This removes unreachable code.
2021-06-14 08:26:11 +02:00
superherointj fdc3bf4178 ocamlPackages.mccs: init 1.1+13 2021-06-14 04:37:07 +02:00
Vincent Laporte 0887d7a747 ocaml-ng.ocamlPackages_4_13.ocaml: init at 4.13.0-α1 2021-06-12 09:21:31 +02:00
superherointj d930bfd5fa ocamlPackages.cudf: init 0.9 2021-06-10 23:47:12 +02:00
superherointj 3912cf9371
ocamlPackages.bz2: init at 0.7.0
Closes #126469
2021-06-10 16:23:06 +02:00
fortuneteller2k 4a34590ece ocamlPackages.cooltt: init at unstable-2021-05-25 2021-06-06 06:30:03 +02:00
Vincent Laporte 5ca9831cb1 ocamlPackages.menhir: 20190626 → 20210419
ocamlPackages.menhirLib: init at 20210419
ocamlPackages.menhirSdk: init at 20210419
2021-06-05 13:38:01 +02:00
Vincent Laporte 759d05ce9e ocamlPackages.stdcompat: init at 15 2021-06-05 13:38:01 +02:00
Vincent Laporte fdeeb2630b ocamlPackages.ppx_import: disable checks 2021-06-04 04:51:38 +02:00
superherointj 60f5a3c18d ocamlPackages.junit: init 2.0.2
ocamlPackages.junit_ounit: init 2.0.2
ocamlPackages.junit_alcotest: init 2.0.2
2021-06-02 18:13:07 +02:00
sternenseemann 2d3225a6c2 ocamlPackages.bap: fix for multiple outputs llvmPackages
7869d16545 split all packages in
llvmPackages into multiple outputs. The default output of llvm doesn't
contain llvm-config, so we need to explicitly choose llvm.dev here.
2021-05-18 01:44:31 +02:00
github-actions[bot] 10e16ec9ab
Merge master into staging-next 2021-05-11 06:20:33 +00:00
sterni f93d83d21b
ocamlPackages: cohttp: 2.5.0 -> 4.0.0; conduit: 2.2.2 -> 4.0.0 (#118144)
* ocamlPackages.x509: 0.12.0 -> 0.13.0

https://github.com/mirleft/ocaml-x509/releases/tag/v0.13.0

* ocamlPackages.tls{,-mirage}: 0.12.8 -> 0.13.1

https://github.com/mirleft/ocaml-tls/releases/tag/v0.13.0
https://github.com/mirleft/ocaml-tls/releases/tag/v0.13.1

* ocamlPackages.ca-certs: 0.2.0 -> 0.2.1

Adds support for NIX_SSL_CERT_FILE, so we can finally run its test
suite! https://github.com/mirage/ca-certs/releases/tag/v0.2.1

* ocamlPackages.dns*: 4.6.3 -> 5.0.0

* jackline: unstable-2020-09-03 -> unstable-2021-04-23

Compatibility with tls >= 0.13.0

* ocamlPackages.ca-certs-nss: init at 3.64.0.1

* ocamlPackages.conduit: 2.2.2 -> 2.3.0

https://github.com/mirage/ocaml-conduit/releases/tag/v2.3.0

* ocamlPackages.curly: fix tests with new ca-certs behavior

* ocamlPackages.cohttp: 2.5.0 -> 4.0.0

ocamlPackages.cohttp-lwt-unix: add description

https://github.com/mirage/ocaml-cohttp/releases/tag/v4.0.0

* ocamlPackages.mirage{,-runtime,-types*}: 3.10.1 -> 3.10.3

Adjust to a few changed dependencies:
https://github.com/mirage/mirage/releases/tag/v3.10.2
https://github.com/mirage/mirage/releases/tag/v3.10.3

* ocamlPackages.conduit*: 2.3.0 -> 4.0.0

https://github.com/mirage/ocaml-conduit/releases/tag/v4.0.0

* ocamlPackages.cohttp-lwt-unix: disable tests

* ocamlPackages.dns*: 5.0.0 -> 5.0.1

https://github.com/mirage/ocaml-dns/releases/tag/v5.0.1

* ocamlPackages.awa*: 0.0.1 -> 0.0.3

https://github.com/mirage/awa-ssh/releases/tag/v0.0.2
https://github.com/mirage/awa-ssh/releases/tag/v0.0.3

* ocamlPackages.optint: 0.0.4 -> 0.1.0

https://github.com/mirage/optint/releases/tag/v0.0.5
https://github.com/mirage/optint/releases/tag/v0.1.0

* ocamlPackages.decompress: 1.3.0 -> 1.4.0

https://github.com/mirage/decompress/releases/tag/v1.4.0

* ocamlPackages.checkseum: 0.2.1 -> 0.3.1

https://github.com/mirage/checkseum/releases/tag/v0.3.0
https://github.com/mirage/checkseum/releases/tag/v0.3.1

* ocamlPackages.checkseum: allow compilation with ocaml-freestanding

* ocamlPackages.carton: 0.4.0 -> 0.4.1

https://github.com/mirage/ocaml-git/releases/tag/carton-v0.4.1

* ocamlPackages.mimic: 0.0.2 -> 0.0.3

* Upstream changed.
* https://github.com/dinosaure/mimic/releases/tag/0.0.3

* ocamlPackages.letsencrypt: 0.2.4 -> 0.2.5

* ocamlPackages.paf: 0.0.1 -> 0.0.3

* ocamlPackages.git-cohttp-mirage: remove at 3.3.3

Will be replaced by git-paf 3.4.0.

* ocamlPackages.git*: 3.3.3 -> 3.4.0

ocamlPackages.git-paf: init at 3.4.0

https://github.com/mirage/ocaml-git/releases/tag/3.4.0

* ocamlPackages.irmin*: 2.5.3 -> 2.6.0

https://github.com/mirage/irmin/releases/tag/2.6.0
2021-05-11 06:54:15 +02:00
github-actions[bot] 0e4580d4d0
Merge staging-next into staging 2021-05-02 18:24:58 +00:00
José Romildo Malaquias bc33b23cd0 ppx_deriving_cmdliner: init at 0.6.0 2021-05-02 14:52:52 +02:00
Andrew Childs 7869d16545 llvmPackages: Multuple outputs for everythting
Also begin to start work on cross compilation, though that will have to
be finished later.

The patches are based on the first version of
https://reviews.llvm.org/D99484. It's very annoying to do the
back-porting but the review has uncovered nothing super major so I'm
fine sticking with what I've got.

Beyond making the outputs work, I also strove to re-sync the packages,
as they have been drifting pointlessly apart for some time.

----

Other misc notes, highly incomplete

- lvm-config-native and llvm-config are put in `dev` because they are
  tools just for build time.

- Clang no longer has an lld dep. That was introduced in
  db29857eb3, but if clang needs help
  finding lld when it is used we should just pass it flags / put in the
  resource dir. Providing it at build time increases critical path
  length for no good reason.

----

A note on `nativeCC`:

`stdenv` takes tools from the previous stage, so:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.stdenv.cc`: `(?0, ?1, x)`

while:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.targetPackages`: `(x, x, ?2)`
3. `pkgsBuildBuild.targetPackages.stdenv.cc`: `(?1, x, x)`
2021-04-30 05:41:00 +00:00
github-actions[bot] c01456266d
Merge staging-next into staging 2021-04-27 12:07:01 +00:00
Vincent Laporte 1a47b8fe6f OCaml: default to version 4.12 2021-04-27 08:42:50 +02:00
Vincent Laporte 8984dee07e ocamlPackages.accessor_core: mark as broken with OCaml ≥ 4.12 2021-04-27 08:42:50 +02:00
github-actions[bot] f0290a5d27
Merge staging-next into staging 2021-04-26 18:14:28 +00:00
sternenseemann 5955013253 ocamlPackages.paf: init at 0.0.1 2021-04-26 15:23:08 +02:00
sternenseemann 6c95bce8b6 ocamlPackages.letsencrypt: init at 0.2.4 2021-04-26 15:23:08 +02:00
github-actions[bot] e30742adc3
Merge staging-next into staging 2021-04-26 12:06:35 +00:00
sternenseemann f4c229058d ocamlPackages.h2: init at 0.8.0 2021-04-26 08:31:53 +02:00
sternenseemann 4d53880408 ocamlPackages.hpack: init at 0.8.0 2021-04-26 08:31:53 +02:00
github-actions[bot] 9a945aac72
Merge staging-next into staging 2021-04-25 18:14:18 +00:00
sternenseemann 4f7a6610f7 ocamlPackages.mirage-bootvar-xen: init at 0.8.0 2021-04-25 13:15:10 +02:00
sternenseemann 2fe8239172 ocamlPackages.{mirage-net-xen,netchannel}: init at 2.0.0 2021-04-25 13:15:10 +02:00
sternenseemann 980a2bed3b ocamlPackages.mirage-xen: init at 6.0.0
Unfortunately this requires a bit of trickery with pkg-config to get to
work. The root issue is that the mirage-xen assumes that we use the
default libdir of dune ($out/lib) whereas we install to an OCaml
version-specific site-lib directory. Thus the manually created
pkg-config file makes wrong assumptions (which warrants a patch) and the
.pc file is installed to the wrong location (which is fixed with a mv
invocation).
2021-04-25 13:13:23 +02:00
sternenseemann b5f7ed7cc8 ocamlPackages.shared-memory-ring(-lwt): init at 3.1.0 2021-04-25 13:08:25 +02:00
github-actions[bot] 5fe3cbef9a
Merge staging-next into staging 2021-04-20 00:15:41 +00:00
Vincent Laporte 95341f082c ocamlPackages.path_glob: init at 0.2 2021-04-19 22:12:38 +02:00
Vincent Laporte cdff996ed3 ocamlPackages.dap: init at 1.0.6 2021-04-19 22:12:38 +02:00
github-actions[bot] ea5bd4364e
Merge staging-next into staging 2021-04-19 18:11:54 +00:00
sternenseemann 5252b4bd1b ocamlPackages.ocaml_extlib-1-7-7: init at 1.7.7
Unfortunately there's no way to get Haxe 4.0 and 4.1 to work with extlib
1.7.8 (not even without the minimal install), so we need to package
1.7.7 again, at least until 1.7.9 (?) brings backwards compatibility
packages, hopefully.
2021-04-19 14:42:42 +02:00
Jörg Thalheim b2a1e04eed
Merge remote-tracking branch 'upstream/staging-next' into HEAD 2021-04-17 16:37:04 +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
sternenseemann 894b606945 ocamlPackages.wayland: init at 0.2 2021-04-15 11:51:06 +02:00
Vincent Laporte 7db1853f5c ocamlPackages.rpclib: 8.0.0 → 8.1.0 2021-04-12 21:37:58 +02:00
sterni 2140791f9b
ocamlPackages.janeStreet{,_0_9_0}: join the ocamlPackages fix point, allowing overriding to work as expected (#113696)
* ocamlPackages.janeStreet_0_9_0: join the ocamlPackages fix point

Internal dependencies in the janeStreet sets were always taken from the
own rec attribute set. While this is pretty simple and convenient, it
has the disadvantage that it doesn't play nice with overriding: If you'd
override an attribute in a janeStreet set previously, it would be
changed when referenced directly, but the other packages in that
janeStreet set still would use the original, non-overridden version of
the derivation.

This is easily fixed by passing janeStreet_0_9_0 itself from the fix
point of ocamlPackages and using it to reference the dependencies.

Example showing it now works as expected:

test-overlay.nix:

    self: super: {
      ocamlPackages = super.ocamlPackages.overrideScope (old: _: {
        janeStreet_0_9_0 = old.janeStreet_0_9_0 // {
          base = old.janeStreet_0_9_0.base.overrideAttrs (_: {
            meta.broken = true;
          });
        };
      });
    }

nix-repl> (import ./. {
  overlays = [ (import ./test-overlay.nix) ];
}).ocamlPackages.janeStreet_0_9_0.stdio

error: Package ‘ocaml4.10.0-base-0.9.4’ in /home/lukas/src/nix/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage.nix:6 is marked as broken, refusing to evaluate.

a) To temporarily allow broken packages, you can use an environment variable
   for a single invocation of the nix tools.

     $ export NIXPKGS_ALLOW_BROKEN=1

b) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

* ocamlPackages.janeStreet: take part in fixpoint for OCaml >= 4.08

This change makes overrides to the janeStreet set work as expected by
making the janeStreet set take part in the ocamlPackages fixpoint for
janeStreet 0.14, i. e. OCaml >= 4.08

* ocamlPackages.janeStreet: take part in fixpoint for OCaml == 4.07

This change makes overrides to the janeStreet set work as expected by
making the janeStreet set take part in the ocamlPackages fixpoint for
janeStreet 0.12, i. e. OCaml == 4.07

* ocamlPackages.janeStreet: take part in fixpoint for OCaml < 4.07

This change makes overrides to the janeStreet set work as expected by
making the janeStreet set take part in the ocamlPackages fixpoint for
janeStreet 0.11, i. e. OCaml < 4.07

* ocamlPackages.janeStreet: remove self - super distinction

Previously, we inherited non-janestreet ocaml dependencies from super
and janestreet dependencies from self which always was super.janeStreet.

This behavior is however not really what we want due to liftJaneStreet:
Users and other packages will use ocamlPackages.base etc. instead of
ocamlPackages.janeStreet.base and the like. Consequently they also would
override the top-level attributes which would mean that other janestreet
packages would not pick up on it however.

As a consequence however, overriding ocamlPackages.janeStreet.base
doesn't work. Since this was never possible, I don't think this is an
issue. It is probably a good idea to deprecate that set anyways and
printing a warning when it is used via trace.

janeStreet_0_9_0 is unchanged as the disticniton between self and super
makes sense for it.

Below is an example showing how overriding would work from an user's
perspective:

test-overlay.nix:

    self: super: {
      ocamlPackages = super.ocamlPackages.overrideScope (old: _: {
        base = old.base.overrideAttrs (_: {
          meta.broken = true;
        });
      });
    }

nix-repl> (import ./. { overlays = [ (import ./test-overlay.nix) ]; }).ocamlPackages.
stdio
error: Package ‘ocaml4.10.0-base-0.14.0’ in /home/lukas/src/nix/nixpkgs/pkgs/development/ocaml-modules/janestreet/janePackage_0_14.nix:12 is marked as broken, refusing to evaluate.

a) To temporarily allow broken packages, you can use an environment variable
   for a single invocation of the nix tools.

     $ export NIXPKGS_ALLOW_BROKEN=1

b) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.
2021-04-11 12:26:10 +02:00
sternenseemann 83eb1fe06d ocamlPackages.pbkdf: init at 1.1.0
Necessary for the upcoming x509 0.12.0 release.
2021-04-05 15:09:05 +02:00
sternenseemann 2f368c2060 ocamlPackages.decompress-1-2: remove at 1.2.0
With imagelib updated there remains no user of this in nixpkgs.
2021-04-02 15:03:44 +02:00
sternenseemann a6425a6008 ocamlPackages.imagelib: 20200929 -> 20210402
Allows us to get rid of decompress 1.2.0:

https://github.com/rlepigre/ocaml-imagelib/releases/tag/20210402
2021-04-02 15:03:44 +02:00
Vincent Laporte 9ac5c7df17 ocamlPackages.gettext-camomile: init at 0.4.2 2021-04-02 09:13:44 +02:00
sternenseemann 77ffcfa47a ocamlPackages.mirage-crypto*: 0.8.10 -> 0.9.0
ocamlPackages.mirage-crypto: allow compiling with ocaml-freestanding

ocamlPackages.mirage-crypto-ec: init at 0.9.0

https://github.com/mirage/mirage-crypto/releases/tag/v0.9.0
2021-04-01 22:14:30 +02:00
sternenseemann 83820fe6db ocamlPackages.mirage-clock-freestanding: init at 3.1.0 2021-04-01 16:10:15 +02:00
sternenseemann ef6450411f ocamlPackages_4_{11,12}: merlin: 3.4.2 -> 4.1
Add nix expression for the OCaml-version specific versions of merlin
4.1 and conditionally call it in ocaml-packages.nix.
2021-03-27 17:26:12 +01:00
sternenseemann 13a8519b4b ocamlPackages.ocaml-freestanding: init at 0.6.4
Contains vendored in patches from https://github.com/mirage/ocaml-freestanding/pull/93
to make building within nixpkgs simpler. These serve as a makeshift
solution until ocaml-freestanding is released with its overhauled dune
based build system which will also support cross compiling. Upstream has
indicated that they are interested in making it work well with nix as
well.
2021-03-26 12:24:42 +01:00
Vincent Laporte 92a1b57bb1 ocamlPackages.ppxlib: default to 0.22.0
ocamlPackages.base_quickcheck 0.14.0 → 0.14.1

ocamlPackages.ppx_custom_printf: 0.14.0 → 0.14.1

ocamlPackages.ppx_expect: 0.14.0 → 0.14.1

ocamlPackages.ppx_optcomp: 0.14.0 → 0.14.1

ocamlPackages.ppx_sexp_conv: 0.14.1 → 0.14.3

ocamlPackages.ppx_sexp_message: 0.14.1 → 0.14.2

ocamlPackages.ppx_typerep_conv: 0.14.1 → 0.14.2

ocamlPackages.visitors: 20210127 → 20210316

ocamlPackages.pgocaml: 4.2.2 → 4.2.2-dev-20210111
2021-03-25 17:36:51 +01:00
Antonio Nuno Monteiro 70c22f694b ocamlPackages.ocaml_extlib: 1.7.7 -> 1.7.8
1.7.8 changed the behavior of the minimal build type (which we are
keeping as the default because opam-repository does it as well): It now
excludes the Base64 module which is prone to namespacing problems.

Since google-drive-ocamlfuse still uses the Base64 module, we need to
override it to use extlib without the minimal build type. 1.7.9 (?)
should make this obsolete as it is planned to split the Base64 module
into a separate package.

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
2021-03-23 08:36:25 +01:00
Antonio Nuno Monteiro 6a0b9d6992 faraday-{lwt,lwt-unix,async}: add Faraday runtimes
Co-authored-by: Vincent Laporte <vbgl@users.noreply.github.com>
2021-03-22 18:54:04 +01:00
Symphorien Gibol d08e1d78e7 ocamlPackages.ocaml-lsp: wrap with dot-merlin-reader
this requires that dot-merlin-reader be built with the same ocaml version as
ocaml-lsp
2021-03-21 22:09:52 +01:00
Antonio Nuno Monteiro 669cfc195f ocaml-lsp, lsp, jsonrpc: allow overriding the source globally
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-03-21 12:17:08 -07:00
Vincent Laporte b68839485d ocamlPackages.bitstring: 4.0.1 → 4.1.0 2021-03-19 11:47:03 +01:00
Mario Rodas 30467aa9dd
Merge pull request #116490 from sternenseemann/luv-0.5.7
ocamlPackages.luv: init at 0.5.7
2021-03-18 21:29:18 -05:00
sterni f0b078ef9d
ocamlPackages.git: 3.3.0 -> 3.3.2; decompress: 1.2.0 -> 1.3.0; duff: 0.3 -> 0.4; and related updates (#116486)
* ocamlPackages.hxd: 0.2.0 -> 0.3.1

ocamlPackages.hxd: disable lwt by default on OCaml 4.06 (syntax error)

* ocamlPackages.duff: 0.3 -> 0.4

* ocamlPackages.decompress: 1.2.0 -> 1.3.0

Keep decompress 1.2.0 around as decompress-1-2 until imagelib supports
decompress 1.3.0: https://github.com/rlepigre/ocaml-imagelib/issues/49

* ocamlPackages.carton*: 0.2.0 -> 0.4.0

* ocamlPackages.git: 3.3.0 -> 3.3.2
2021-03-16 13:07:17 +01:00
sternenseemann 176ab26cce ocamlPackages.luv: init at 0.5.7
Enabling tests is not feasible as the test suite takes > 45min (haven't
even run it to completion yet) which is not a good idea in ocamlPackages
where you often have to build from source. Additionally it would require
fetching the git repository since the test suite is not contained in the
release tarball.

Co-authored-by: locallycompact <dan.firth@homotopic.tech>
2021-03-16 12:38:03 +01:00
Ozan Sener 28c7e68e99 ocamlPackages.ppx_cstubs : Init at 0.6.1.1 2021-03-11 08:28:04 +01:00
Vincent Laporte 60785fe4db ocamlPackages.dune: rename into dune_1 2021-03-07 12:07:14 +01:00
Aaron L. Zeng 2517018ac2 ocamlPackages.directories: init at 0.2 2021-03-03 08:41:55 +01:00
Vincent Laporte 36aa10c0ea ocamlPackages.ppx_bap: init at 0.14 2021-02-26 07:09:22 +01:00
Antonio Nuno Monteiro 98cefe1d6b OCaml 4.12.--beta1 -> 4.12.0 2021-02-25 21:25:10 +01:00
Arthur Teisseire 7cc2f6cc54 ocamlPackages.sha: init at 1.13 2021-02-17 17:45:18 +01:00
sternenseemann c59b8ce9c3
ocamlPackages: irmin 2.2.0 → 2.4.0; git: 2.13 → 3.2.0; and related changes (#110184)
* ocamlPackages.index: 1.2.1 -> 1.3.0

* ocamlPackages.decompress: 0.9.0 -> 1.2.0

* ocamlPackages.imagelib-unix: remove at 20191011

* ocamlPackages.imagelib: 20191011 -> 20200929

* ocamlPackages.duff: 0.2 -> 0.3

* ocamlPackages.carton{,-git,-lwt}: init at 0.2.0

* ocamlPackages.encore: 0.5 → 0.7

* ocamlPackages.git-http: remove at 2.1.3

* ocamlPackages.git-unix: move into git directory

* ocamlPackages.irmin-mem: remove at 2.2.0

Replaced by irmin.mem contained in ocamlPackages.irmin >= 2.4.0

* ocamlPackages.git*: 2.1.3 -> 3.2.0

ocamlPackages.git-unix: 2.1.3 -> 3.2.0

ocamlPackages.git-cohttp{,-unix,-mirage}: init at 3.2.0

* ocamlPackages.irmin*: 2.2.0 -> 2.4.0

ocamlPackages.irmin-containers: init at 2.4.0
ocamlPackages.irmin-layers: init at 2.4.0
ocamlPackages.irmin-mirage: init at 2.4.0
ocamlPackages.irmin-mirage-git: init at 2.4.0
ocamlPackages.irmin-mirage-graphql: init at 2.4.0

* ocamlPackages.wodan-irmin: mark as broken
2021-02-16 08:39:46 +01:00
Vincent Laporte 3c34795935 ocamlPackages.kafka: 0.4 → 0.5 2021-02-07 14:07:54 +01:00
sternenseemann f31d62b49e
ocamlPackages.semaphore-compat: init at 1.0.1 2021-02-02 08:34:06 +01:00
sternenseemann 6a27377958 ocamlPackages.cstruct: 5.0.0 → 6.0.0 2021-02-01 16:11:29 +01:00
Vincent Laporte 8f1302995e
ocamlPackages.ppx_deriving: 4.5 → 5.1
ocamlPackages.ppx_deriving_yojson: 3.5.2 → 3.6.1

ocamlPackages.visitors: 20200210 → 20210127

ocamlPackages.pgocaml: disable for OCaml < 4.08

ocamlPackages.nocrypto: disable for OCaml < 4.08

ocamlPackages.lens: mark as broken

ocamlPackages.ppx_deriving_protobuf: mark as broken

Closes #108137
2021-01-31 14:15:46 +01:00
sternenseemann fdc9d99179
ocamlPackages.progress: init at 0.1.1 2021-01-31 09:53:23 +01:00
Aaron L. Zeng 1b6764da4e
ocamlPackages.caqti*: init at 1.3.0
Except for caqti-type-calendar, whose most recent version number is
1.2.0.
2021-01-30 11:37:36 +01:00
Aaron L. Zeng 5b13986979
ocamlPackages.mariadb: init at 1.1.4 2021-01-30 11:37:36 +01:00
Aaron L. Zeng f58c4e236f
ocamlPackages.postgresql: init at 4.6.3 2021-01-30 11:37:36 +01:00
sternenseemann b4668b2699
ocamlPackages.terminal_size: init at 0.1.4 2021-01-29 08:33:49 +01:00
sternenseemann ae82038d5f ocamlPackages.bheap: init at 2.0.0 2021-01-25 08:39:56 +01:00
sternenseemann a7a61998e9 ocamlPackages.{repr,ppx_repr}: init at 0.2.1 2021-01-24 21:04:02 +01:00
sternenseemann 7fee56ec59 ocamlPackages.either: init at 1.0.0 2021-01-24 21:04:02 +01:00
sternenseemann 2483ca4c62 ocamlPackages.cohttp-mirage: init at 2.5.4 2021-01-24 17:38:11 +01:00
sternenseemann 0378fedc17 ocamlPackages.conduit-mirage: init at 2.2.2 2021-01-24 17:38:11 +01:00
sternenseemann 3b363283a5 ocamlPackages.vchan: init at 6.0.0 2021-01-24 17:38:11 +01:00
sternenseemann 6aef21c314 ocamlPackages.tls-mirage: init at 0.12.8 2021-01-24 17:38:11 +01:00
sternenseemann 25ab7218c8 ocamlPackages.xenstore-tool: init at 1.3.0 2021-01-24 17:38:11 +01:00
sternenseemann 34457e2fc6 ocamlPackages.xenstore_transport: init at 1.3.0 2021-01-24 17:38:11 +01:00
sternenseemann 148ca8c904 ocamlPackages.xenstore: init at 2.1.1 2021-01-24 17:38:11 +01:00
sternenseemann b424ecd84e ocamlPackages.emile: init at 1.1 2021-01-22 09:26:17 +01:00
sternenseemann 47818a1ff3 ocamlPackages.pecu: init at 0.5 2021-01-22 09:26:17 +01:00
sternenseemann 0f864eb45b ocamlPackages.hxd: init at 0.2.0 2021-01-22 08:39:58 +01:00
Emery Hemingway 93e31f2a78
ocamlPackages.wodan: init unstable-2020-11-20 2021-01-22 08:34:26 +01:00
sternenseemann 2b014ef903 ocamlPackages.mimic: init at 0.0.1 2021-01-18 10:32:02 +01:00