@greenlabs/ppx-spice 0.1.8 → 0.1.9-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +4 -0
- package/docs/GUIDE.md +139 -0
- package/package.json +1 -1
- package/ppx-windows.exe +0 -0
- package/.github/workflows/build_linux.yml +0 -41
- package/.github/workflows/build_macos.yml +0 -41
- package/.github/workflows/build_windows.yml +0 -41
- package/.github/workflows/print_esy_cache.js +0 -13
- package/.github/workflows/publish.yml +0 -161
- package/.github/workflows/publish_prerelease.yml +0 -177
- package/.vscode/settings.json +0 -6
- package/src/.ocamlformat +0 -0
- package/src/bin/bin.ml +0 -1
- package/src/bin/dune +0 -5
- package/src/dune +0 -1
- package/src/dune-project +0 -2
- package/src/dune-workspace +0 -3
- package/src/esy.lock/.gitattributes +0 -3
- package/src/esy.lock/.gitignore +0 -3
- package/src/esy.lock/index.json +0 -1196
- package/src/esy.lock/opam/astring.0.8.5/opam +0 -37
- package/src/esy.lock/opam/base-bytes.base/opam +0 -9
- package/src/esy.lock/opam/base-threads.base/opam +0 -6
- package/src/esy.lock/opam/base-unix.base/opam +0 -6
- package/src/esy.lock/opam/base.v0.14.1/opam +0 -36
- package/src/esy.lock/opam/biniou.1.2.1/opam +0 -45
- package/src/esy.lock/opam/cmdliner.1.0.4/opam +0 -36
- package/src/esy.lock/opam/cppo.1.6.8/opam +0 -37
- package/src/esy.lock/opam/csexp.1.5.1/opam +0 -60
- package/src/esy.lock/opam/dot-merlin-reader.4.1/opam +0 -30
- package/src/esy.lock/opam/dune-build-info.2.9.1/opam +0 -42
- package/src/esy.lock/opam/dune-configurator.2.9.1/opam +0 -47
- package/src/esy.lock/opam/dune.2.9.1/opam +0 -58
- package/src/esy.lock/opam/easy-format.1.3.2/opam +0 -46
- package/src/esy.lock/opam/fix.20201120/opam +0 -24
- package/src/esy.lock/opam/fpath.0.7.3/opam +0 -36
- package/src/esy.lock/opam/menhir.20211012/opam +0 -28
- package/src/esy.lock/opam/menhirLib.20211012/opam +0 -29
- package/src/esy.lock/opam/menhirSdk.20211012/opam +0 -29
- package/src/esy.lock/opam/ocaml-compiler-libs.v0.12.4/opam +0 -39
- package/src/esy.lock/opam/ocaml-lsp-server.1.8.3/opam +0 -54
- package/src/esy.lock/opam/ocamlbuild.0.14.0/opam +0 -36
- package/src/esy.lock/opam/ocamlfind.1.9.1/opam +0 -44
- package/src/esy.lock/opam/ocamlformat-rpc-lib.0.18.0/opam +0 -40
- package/src/esy.lock/opam/ocamlformat.0.19.0/opam +0 -55
- package/src/esy.lock/opam/ocp-indent.1.8.1/opam +0 -57
- package/src/esy.lock/opam/odoc-parser.0.9.0/opam +0 -45
- package/src/esy.lock/opam/pp.1.1.2/opam +0 -58
- package/src/esy.lock/opam/ppx_derivers.1.2.1/opam +0 -23
- package/src/esy.lock/opam/ppx_yojson_conv_lib.v0.14.0/opam +0 -24
- package/src/esy.lock/opam/ppxlib.0.23.0/opam +0 -62
- package/src/esy.lock/opam/re.1.10.3/opam +0 -46
- package/src/esy.lock/opam/result.1.5/opam +0 -22
- package/src/esy.lock/opam/seq.base/files/META.seq +0 -4
- package/src/esy.lock/opam/seq.base/files/seq.install +0 -3
- package/src/esy.lock/opam/seq.base/opam +0 -15
- package/src/esy.lock/opam/sexplib0.v0.14.0/opam +0 -26
- package/src/esy.lock/opam/stdio.v0.14.0/opam +0 -27
- package/src/esy.lock/opam/stdlib-shims.0.3.0/opam +0 -31
- package/src/esy.lock/opam/topkg.1.0.4/opam +0 -44
- package/src/esy.lock/opam/uchar.0.0.2/opam +0 -36
- package/src/esy.lock/opam/uucp.14.0.0/opam +0 -41
- package/src/esy.lock/opam/uuseg.14.0.0/opam +0 -43
- package/src/esy.lock/opam/uutf.1.0.2/opam +0 -40
- package/src/esy.lock/opam/yojson.1.7.0/opam +0 -38
- package/src/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.0_opam_override/files/ocamlbuild-0.14.0.patch +0 -463
- package/src/esy.lock/overrides/opam__s__ocamlbuild_opam__c__0.14.0_opam_override/package.json +0 -27
- package/src/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.1_opam_override/files/findlib-1.9.1.patch +0 -471
- package/src/esy.lock/overrides/opam__s__ocamlfind_opam__c__1.9.1_opam_override/package.json +0 -61
- package/src/ppx/codecs.ml +0 -120
- package/src/ppx/decode_cases.ml +0 -18
- package/src/ppx/dune +0 -9
- package/src/ppx/polyvariants.ml +0 -288
- package/src/ppx/ppx_spice.ml +0 -19
- package/src/ppx/records.ml +0 -163
- package/src/ppx/signature.ml +0 -86
- package/src/ppx/structure.ml +0 -109
- package/src/ppx/tuple.ml +0 -68
- package/src/ppx/utils.ml +0 -117
- package/src/ppx/variants.ml +0 -257
- package/src/ppx_spice.opam +0 -21
- package/test/__tests__/test_optional_field_records.js +0 -91
- package/test/__tests__/test_optional_field_records.res +0 -98
- package/test/__tests__/test_polyvariants.js +0 -57
- package/test/__tests__/test_polyvariants.res +0 -41
- package/test/__tests__/test_records.js +0 -100
- package/test/__tests__/test_records.res +0 -111
- package/test/__tests__/test_variants.js +0 -85
- package/test/__tests__/test_variants.res +0 -63
- package/test/bsconfig.json +0 -27
- package/test/package.json +0 -18
- package/test/src/OptionalFieldRecords.js +0 -237
- package/test/src/OptionalFieldRecords.res +0 -23
- package/test/src/Polyvariants.js +0 -94
- package/test/src/Polyvariants.res +0 -5
- package/test/src/Polyvariants.resi +0 -5
- package/test/src/Records.js +0 -186
- package/test/src/Records.res +0 -17
- package/test/src/Records.resi +0 -17
- package/test/src/Spice.js +0 -448
- package/test/src/Spice_Codecs.js +0 -57
- package/test/src/Variants.js +0 -115
- package/test/src/Variants.res +0 -11
- package/test/src/Variants.resi +0 -11
- package/test/yarn.lock +0 -4194
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
|
|
3
|
-
authors: ["The astring programmers"]
|
|
4
|
-
homepage: "https://erratique.ch/software/astring"
|
|
5
|
-
doc: "https://erratique.ch/software/astring/doc"
|
|
6
|
-
dev-repo: "git+http://erratique.ch/repos/astring.git"
|
|
7
|
-
bug-reports: "https://github.com/dbuenzli/astring/issues"
|
|
8
|
-
tags: [ "string" "org:erratique" ]
|
|
9
|
-
license: "ISC"
|
|
10
|
-
depends: [
|
|
11
|
-
"ocaml" {>= "4.05.0"}
|
|
12
|
-
"ocamlfind" {build}
|
|
13
|
-
"ocamlbuild" {build}
|
|
14
|
-
"topkg" {build} ]
|
|
15
|
-
build: [[ "ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" ]]
|
|
16
|
-
|
|
17
|
-
synopsis: """Alternative String module for OCaml"""
|
|
18
|
-
description: """\
|
|
19
|
-
|
|
20
|
-
Astring exposes an alternative `String` module for OCaml. This module
|
|
21
|
-
tries to balance minimality and expressiveness for basic, index-free,
|
|
22
|
-
string processing and provides types and functions for substrings,
|
|
23
|
-
string sets and string maps.
|
|
24
|
-
|
|
25
|
-
Remaining compatible with the OCaml `String` module is a non-goal. The
|
|
26
|
-
`String` module exposed by Astring has exception safe functions,
|
|
27
|
-
removes deprecated and rarely used functions, alters some signatures
|
|
28
|
-
and names, adds a few missing functions and fully exploits OCaml's
|
|
29
|
-
newfound string immutability.
|
|
30
|
-
|
|
31
|
-
Astring depends only on the OCaml standard library. It is distributed
|
|
32
|
-
under the ISC license.
|
|
33
|
-
"""
|
|
34
|
-
url {
|
|
35
|
-
archive: "https://erratique.ch/software/astring/releases/astring-0.8.5.tbz"
|
|
36
|
-
checksum: "e148907c24157d1df43bec89b58b3ec8"
|
|
37
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "Jane Street developers"
|
|
3
|
-
authors: ["Jane Street Group, LLC"]
|
|
4
|
-
homepage: "https://github.com/janestreet/base"
|
|
5
|
-
bug-reports: "https://github.com/janestreet/base/issues"
|
|
6
|
-
dev-repo: "git+https://github.com/janestreet/base.git"
|
|
7
|
-
doc: "https://ocaml.janestreet.com/ocaml-core/latest/doc/base/index.html"
|
|
8
|
-
license: "MIT"
|
|
9
|
-
build: [
|
|
10
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
11
|
-
]
|
|
12
|
-
depends: [
|
|
13
|
-
"ocaml" {>= "4.08.0"}
|
|
14
|
-
"sexplib0" {>= "v0.14" & < "v0.15"}
|
|
15
|
-
"dune" {>= "2.0.0"}
|
|
16
|
-
"dune-configurator"
|
|
17
|
-
]
|
|
18
|
-
synopsis: "Full standard library replacement for OCaml"
|
|
19
|
-
description: "
|
|
20
|
-
Full standard library replacement for OCaml
|
|
21
|
-
|
|
22
|
-
Base is a complete and portable alternative to the OCaml standard
|
|
23
|
-
library. It provides all standard functionalities one would expect
|
|
24
|
-
from a language standard library. It uses consistent conventions
|
|
25
|
-
across all of its module.
|
|
26
|
-
|
|
27
|
-
Base aims to be usable in any context. As a result system dependent
|
|
28
|
-
features such as I/O are not offered by Base. They are instead
|
|
29
|
-
provided by companion libraries such as stdio:
|
|
30
|
-
|
|
31
|
-
https://github.com/janestreet/stdio
|
|
32
|
-
"
|
|
33
|
-
url {
|
|
34
|
-
src: "https://github.com/janestreet/base/archive/v0.14.1.tar.gz"
|
|
35
|
-
checksum: "md5=e4419eae60f57e553b154856f0cacf42"
|
|
36
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
build: [
|
|
3
|
-
["dune" "subst"] {dev}
|
|
4
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
5
|
-
["dune" "runtest" "-p" name "-j" jobs] {with-test}
|
|
6
|
-
["dune" "build" "-p" name "@doc"] {with-doc}
|
|
7
|
-
]
|
|
8
|
-
maintainer: ["martin@mjambon.com"]
|
|
9
|
-
authors: ["Martin Jambon"]
|
|
10
|
-
bug-reports: "https://github.com/mjambon/biniou/issues"
|
|
11
|
-
homepage: "https://github.com/mjambon/biniou"
|
|
12
|
-
doc: "https://mjambon.github.io/biniou/"
|
|
13
|
-
license: "BSD-3-Clause"
|
|
14
|
-
dev-repo: "git+https://github.com/mjambon/biniou.git"
|
|
15
|
-
synopsis:
|
|
16
|
-
"Binary data format designed for speed, safety, ease of use and backward compatibility as protocols evolve"
|
|
17
|
-
description: """
|
|
18
|
-
|
|
19
|
-
Biniou (pronounced "be new") is a binary data format designed for speed, safety,
|
|
20
|
-
ease of use and backward compatibility as protocols evolve. Biniou is vastly
|
|
21
|
-
equivalent to JSON in terms of functionality but allows implementations several
|
|
22
|
-
times faster (4 times faster than yojson), with 25-35% space savings.
|
|
23
|
-
|
|
24
|
-
Biniou data can be decoded into human-readable form without knowledge of type
|
|
25
|
-
definitions except for field and variant names which are represented by 31-bit
|
|
26
|
-
hashes. A program named bdump is provided for routine visualization of biniou
|
|
27
|
-
data files.
|
|
28
|
-
|
|
29
|
-
The program atdgen is used to derive OCaml-Biniou serializers and deserializers
|
|
30
|
-
from type definitions.
|
|
31
|
-
|
|
32
|
-
Biniou format specification: mjambon.github.io/atdgen-doc/biniou-format.txt"""
|
|
33
|
-
depends: [
|
|
34
|
-
"easy-format"
|
|
35
|
-
"dune" {>= "1.10"}
|
|
36
|
-
"ocaml" {>= "4.02.3"}
|
|
37
|
-
]
|
|
38
|
-
url {
|
|
39
|
-
src:
|
|
40
|
-
"https://github.com/mjambon/biniou/releases/download/1.2.1/biniou-1.2.1.tbz"
|
|
41
|
-
checksum: [
|
|
42
|
-
"sha256=35546c68b1929a8e6d27a3b39ecd17b38303a0d47e65eb9d1480c2061ea84335"
|
|
43
|
-
"sha512=82670cc77bf3e869ee26e5fbe5a5affa45a22bc8b6c4bd7e85473912780e0111baca59b34a2c14feae3543ce6e239d7fddaeab24b686a65bfe642cdb91d27ebf"
|
|
44
|
-
]
|
|
45
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
|
|
3
|
-
authors: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
|
|
4
|
-
homepage: "http://erratique.ch/software/cmdliner"
|
|
5
|
-
doc: "http://erratique.ch/software/cmdliner/doc/Cmdliner"
|
|
6
|
-
dev-repo: "git+http://erratique.ch/repos/cmdliner.git"
|
|
7
|
-
bug-reports: "https://github.com/dbuenzli/cmdliner/issues"
|
|
8
|
-
tags: [ "cli" "system" "declarative" "org:erratique" ]
|
|
9
|
-
license: "ISC"
|
|
10
|
-
depends:[ "ocaml" {>= "4.03.0"} ]
|
|
11
|
-
build: [[ make "all" "PREFIX=%{prefix}%" ]]
|
|
12
|
-
install:
|
|
13
|
-
[[make "install" "LIBDIR=%{_:lib}%" "DOCDIR=%{_:doc}%" ]
|
|
14
|
-
[make "install-doc" "LIBDIR=%{_:lib}%" "DOCDIR=%{_:doc}%" ]]
|
|
15
|
-
|
|
16
|
-
synopsis: """Declarative definition of command line interfaces for OCaml"""
|
|
17
|
-
description: """\
|
|
18
|
-
|
|
19
|
-
Cmdliner allows the declarative definition of command line interfaces
|
|
20
|
-
for OCaml.
|
|
21
|
-
|
|
22
|
-
It provides a simple and compositional mechanism to convert command
|
|
23
|
-
line arguments to OCaml values and pass them to your functions. The
|
|
24
|
-
module automatically handles syntax errors, help messages and UNIX man
|
|
25
|
-
page generation. It supports programs with single or multiple commands
|
|
26
|
-
and respects most of the [POSIX][1] and [GNU][2] conventions.
|
|
27
|
-
|
|
28
|
-
Cmdliner has no dependencies and is distributed under the ISC license.
|
|
29
|
-
|
|
30
|
-
[1]: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html
|
|
31
|
-
[2]: http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html
|
|
32
|
-
"""
|
|
33
|
-
url {
|
|
34
|
-
archive: "http://erratique.ch/software/cmdliner/releases/cmdliner-1.0.4.tbz"
|
|
35
|
-
checksum: "fe2213d0bc63b1e10a2d0aa66d2fc8d9"
|
|
36
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "martin@mjambon.com"
|
|
3
|
-
authors: "Martin Jambon"
|
|
4
|
-
license: "BSD-3-Clause"
|
|
5
|
-
homepage: "https://github.com/ocaml-community/cppo"
|
|
6
|
-
doc: "https://ocaml-community.github.io/cppo/"
|
|
7
|
-
bug-reports: "https://github.com/ocaml-community/cppo/issues"
|
|
8
|
-
depends: [
|
|
9
|
-
"ocaml" {>= "4.02.3"}
|
|
10
|
-
"dune" {>= "1.0"}
|
|
11
|
-
"base-unix"
|
|
12
|
-
]
|
|
13
|
-
build: [
|
|
14
|
-
["dune" "subst"] {dev}
|
|
15
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
16
|
-
["dune" "runtest" "-p" name "-j" jobs] {with-test}
|
|
17
|
-
]
|
|
18
|
-
dev-repo: "git+https://github.com/ocaml-community/cppo.git"
|
|
19
|
-
synopsis: "Code preprocessor like cpp for OCaml"
|
|
20
|
-
description: """
|
|
21
|
-
Cppo is an equivalent of the C preprocessor for OCaml programs.
|
|
22
|
-
It allows the definition of simple macros and file inclusion.
|
|
23
|
-
|
|
24
|
-
Cppo is:
|
|
25
|
-
|
|
26
|
-
* more OCaml-friendly than cpp
|
|
27
|
-
* easy to learn without consulting a manual
|
|
28
|
-
* reasonably fast
|
|
29
|
-
* simple to install and to maintain
|
|
30
|
-
"""
|
|
31
|
-
url {
|
|
32
|
-
src: "https://github.com/ocaml-community/cppo/archive/v1.6.8.tar.gz"
|
|
33
|
-
checksum: [
|
|
34
|
-
"md5=fed401197d86f9089e89f6cbdf1d660d"
|
|
35
|
-
"sha512=069bbe0ef09c03b0dc4b5795f909c3ef872fe99c6f1e6704a0fa97594b1570b3579226ec67fe11d696ccc349a4585055bbaf07c65eff423aa45af28abf38c858"
|
|
36
|
-
]
|
|
37
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: "Parsing and printing of S-expressions in Canonical form"
|
|
3
|
-
description: """
|
|
4
|
-
|
|
5
|
-
This library provides minimal support for Canonical S-expressions
|
|
6
|
-
[1]. Canonical S-expressions are a binary encoding of S-expressions
|
|
7
|
-
that is super simple and well suited for communication between
|
|
8
|
-
programs.
|
|
9
|
-
|
|
10
|
-
This library only provides a few helpers for simple applications. If
|
|
11
|
-
you need more advanced support, such as parsing from more fancy input
|
|
12
|
-
sources, you should consider copying the code of this library given
|
|
13
|
-
how simple parsing S-expressions in canonical form is.
|
|
14
|
-
|
|
15
|
-
To avoid a dependency on a particular S-expression library, the only
|
|
16
|
-
module of this library is parameterised by the type of S-expressions.
|
|
17
|
-
|
|
18
|
-
[1] https://en.wikipedia.org/wiki/Canonical_S-expressions
|
|
19
|
-
"""
|
|
20
|
-
maintainer: ["Jeremie Dimino <jeremie@dimino.org>"]
|
|
21
|
-
authors: [
|
|
22
|
-
"Quentin Hocquet <mefyl@gruntech.org>"
|
|
23
|
-
"Jane Street Group, LLC"
|
|
24
|
-
"Jeremie Dimino <jeremie@dimino.org>"
|
|
25
|
-
]
|
|
26
|
-
license: "MIT"
|
|
27
|
-
homepage: "https://github.com/ocaml-dune/csexp"
|
|
28
|
-
doc: "https://ocaml-dune.github.io/csexp/"
|
|
29
|
-
bug-reports: "https://github.com/ocaml-dune/csexp/issues"
|
|
30
|
-
depends: [
|
|
31
|
-
"dune" {>= "1.11"}
|
|
32
|
-
"ocaml" {>= "4.03.0"}
|
|
33
|
-
# "ppx_expect" {with-test & >= "v0.14"}
|
|
34
|
-
"odoc" {with-doc}
|
|
35
|
-
]
|
|
36
|
-
dev-repo: "git+https://github.com/ocaml-dune/csexp.git"
|
|
37
|
-
build: [
|
|
38
|
-
["dune" "subst"] {dev}
|
|
39
|
-
[
|
|
40
|
-
"dune"
|
|
41
|
-
"build"
|
|
42
|
-
"-p"
|
|
43
|
-
name
|
|
44
|
-
"-j"
|
|
45
|
-
jobs
|
|
46
|
-
"@install"
|
|
47
|
-
# Tests disabled because of a cyclic dependency with csexp, dune-configurator and ppx_expect
|
|
48
|
-
# "@runtest" {with-test}
|
|
49
|
-
"@doc" {with-doc}
|
|
50
|
-
]
|
|
51
|
-
]
|
|
52
|
-
x-commit-hash: "7eeb86206819d2b1782d6cde1be9d6cf8b5fc851"
|
|
53
|
-
url {
|
|
54
|
-
src:
|
|
55
|
-
"https://github.com/ocaml-dune/csexp/releases/download/1.5.1/csexp-1.5.1.tbz"
|
|
56
|
-
checksum: [
|
|
57
|
-
"sha256=d605e4065fa90a58800440ef2f33a2d931398bf2c22061a8acb7df845c0aac02"
|
|
58
|
-
"sha512=d785bbabaff9f6bf601399149ef0a42e5e99647b54e27f97ef1625907793dda22a45bf83e0e8a1eba2c63634c5484b54739ff0904ef556f5fc592efa38af7505"
|
|
59
|
-
]
|
|
60
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "defree@gmail.com"
|
|
3
|
-
authors: "The Merlin team"
|
|
4
|
-
synopsis: "Reads config files for merlin"
|
|
5
|
-
homepage: "https://github.com/ocaml/merlin"
|
|
6
|
-
bug-reports: "https://github.com/ocaml/merlin/issues"
|
|
7
|
-
dev-repo: "git+https://github.com/ocaml/merlin.git"
|
|
8
|
-
build: [
|
|
9
|
-
["dune" "subst"] {dev}
|
|
10
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
11
|
-
]
|
|
12
|
-
depends: [
|
|
13
|
-
"ocaml" {>= "4.06.1" }
|
|
14
|
-
"dune" {>= "2.7.0"}
|
|
15
|
-
"yojson" {>= "1.6.0"}
|
|
16
|
-
"ocamlfind" {>= "1.6.0"}
|
|
17
|
-
"csexp" {>= "1.2.3"}
|
|
18
|
-
"result" {>= "1.5"}
|
|
19
|
-
]
|
|
20
|
-
description:
|
|
21
|
-
"Helper process: reads .merlin files and gives the normalized content to merlin"
|
|
22
|
-
x-commit-hash: "ab02f60994c81166820791b5f465f467d752b8dc"
|
|
23
|
-
url {
|
|
24
|
-
src:
|
|
25
|
-
"https://github.com/ocaml/merlin/releases/download/v4.1/dot-merlin-reader-v4.1.tbz"
|
|
26
|
-
checksum: [
|
|
27
|
-
"sha256=14a36d6fb8646a5df4530420a7861722f1a4ee04753717947305e3676031e7cd"
|
|
28
|
-
"sha512=65fd4ab08904c05651a7ef8971802ffaa428daa920765dbcf162e3c56e8047e4c9e4356daa45efccce7c73a586635c8f6cf8118fd3059789de9aff68579bd436"
|
|
29
|
-
]
|
|
30
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: "Embed build informations inside executable"
|
|
3
|
-
description: """
|
|
4
|
-
The build-info library allows to access information about how the
|
|
5
|
-
executable was built, such as the version of the project at which it
|
|
6
|
-
was built or the list of statically linked libraries with their
|
|
7
|
-
versions. It supports reporting the version from the version control
|
|
8
|
-
system during development to get an precise reference of when the
|
|
9
|
-
executable was built.
|
|
10
|
-
"""
|
|
11
|
-
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
|
|
12
|
-
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
|
|
13
|
-
license: "MIT"
|
|
14
|
-
homepage: "https://github.com/ocaml/dune"
|
|
15
|
-
doc: "https://dune.readthedocs.io/"
|
|
16
|
-
bug-reports: "https://github.com/ocaml/dune/issues"
|
|
17
|
-
depends: [
|
|
18
|
-
"dune" {>= "2.9"}
|
|
19
|
-
"odoc" {with-doc}
|
|
20
|
-
]
|
|
21
|
-
dev-repo: "git+https://github.com/ocaml/dune.git"
|
|
22
|
-
build: [
|
|
23
|
-
["dune" "subst"] {dev}
|
|
24
|
-
[
|
|
25
|
-
"dune"
|
|
26
|
-
"build"
|
|
27
|
-
"-p"
|
|
28
|
-
name
|
|
29
|
-
"-j"
|
|
30
|
-
jobs
|
|
31
|
-
"@install"
|
|
32
|
-
"@doc" {with-doc}
|
|
33
|
-
]
|
|
34
|
-
]
|
|
35
|
-
x-commit-hash: "e41c66259135d6d1d72b031be6684bf8826a2586"
|
|
36
|
-
url {
|
|
37
|
-
src: "https://github.com/ocaml/dune/releases/download/2.9.1/dune-2.9.1.tbz"
|
|
38
|
-
checksum: [
|
|
39
|
-
"sha256=b374feb22b34099ccc6dd32128e18d088ff9a81837952b29f05110b308c09f26"
|
|
40
|
-
"sha512=fce1aa520db785c25ded75a959e9dafeb7887d4f5deeb14b044cd5b9e2d235dca24589d794d2f01513765bc4764cf72f8659bd15f3a4fc06efa61363dc5d709b"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: "Helper library for gathering system configuration"
|
|
3
|
-
description: """
|
|
4
|
-
dune-configurator is a small library that helps writing OCaml scripts that
|
|
5
|
-
test features available on the system, in order to generate config.h
|
|
6
|
-
files for instance.
|
|
7
|
-
Among other things, dune-configurator allows one to:
|
|
8
|
-
- test if a C program compiles
|
|
9
|
-
- query pkg-config
|
|
10
|
-
- import #define from OCaml header files
|
|
11
|
-
- generate config.h file
|
|
12
|
-
"""
|
|
13
|
-
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
|
|
14
|
-
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
|
|
15
|
-
license: "MIT"
|
|
16
|
-
homepage: "https://github.com/ocaml/dune"
|
|
17
|
-
doc: "https://dune.readthedocs.io/"
|
|
18
|
-
bug-reports: "https://github.com/ocaml/dune/issues"
|
|
19
|
-
depends: [
|
|
20
|
-
"dune" {>= "2.9"}
|
|
21
|
-
"ocaml" {>= "4.03.0"}
|
|
22
|
-
"result"
|
|
23
|
-
"csexp" {>= "1.3.0"}
|
|
24
|
-
"odoc" {with-doc}
|
|
25
|
-
]
|
|
26
|
-
dev-repo: "git+https://github.com/ocaml/dune.git"
|
|
27
|
-
build: [
|
|
28
|
-
["dune" "subst"] {dev}
|
|
29
|
-
[
|
|
30
|
-
"dune"
|
|
31
|
-
"build"
|
|
32
|
-
"-p"
|
|
33
|
-
name
|
|
34
|
-
"-j"
|
|
35
|
-
jobs
|
|
36
|
-
"@install"
|
|
37
|
-
"@doc" {with-doc}
|
|
38
|
-
]
|
|
39
|
-
]
|
|
40
|
-
x-commit-hash: "e41c66259135d6d1d72b031be6684bf8826a2586"
|
|
41
|
-
url {
|
|
42
|
-
src: "https://github.com/ocaml/dune/releases/download/2.9.1/dune-2.9.1.tbz"
|
|
43
|
-
checksum: [
|
|
44
|
-
"sha256=b374feb22b34099ccc6dd32128e18d088ff9a81837952b29f05110b308c09f26"
|
|
45
|
-
"sha512=fce1aa520db785c25ded75a959e9dafeb7887d4f5deeb14b044cd5b9e2d235dca24589d794d2f01513765bc4764cf72f8659bd15f3a4fc06efa61363dc5d709b"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
synopsis: "Fast, portable, and opinionated build system"
|
|
3
|
-
description: """
|
|
4
|
-
|
|
5
|
-
dune is a build system that was designed to simplify the release of
|
|
6
|
-
Jane Street packages. It reads metadata from "dune" files following a
|
|
7
|
-
very simple s-expression syntax.
|
|
8
|
-
|
|
9
|
-
dune is fast, has very low-overhead, and supports parallel builds on
|
|
10
|
-
all platforms. It has no system dependencies; all you need to build
|
|
11
|
-
dune or packages using dune is OCaml. You don't need make or bash
|
|
12
|
-
as long as the packages themselves don't use bash explicitly.
|
|
13
|
-
|
|
14
|
-
dune supports multi-package development by simply dropping multiple
|
|
15
|
-
repositories into the same directory.
|
|
16
|
-
|
|
17
|
-
It also supports multi-context builds, such as building against
|
|
18
|
-
several opam roots/switches simultaneously. This helps maintaining
|
|
19
|
-
packages across several versions of OCaml and gives cross-compilation
|
|
20
|
-
for free.
|
|
21
|
-
"""
|
|
22
|
-
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
|
|
23
|
-
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
|
|
24
|
-
license: "MIT"
|
|
25
|
-
homepage: "https://github.com/ocaml/dune"
|
|
26
|
-
doc: "https://dune.readthedocs.io/"
|
|
27
|
-
bug-reports: "https://github.com/ocaml/dune/issues"
|
|
28
|
-
conflicts: [
|
|
29
|
-
"merlin" {< "3.4.0"}
|
|
30
|
-
"ocaml-lsp-server" {< "1.3.0"}
|
|
31
|
-
"dune-configurator" {< "2.3.0"}
|
|
32
|
-
"odoc" {< "1.3.0"}
|
|
33
|
-
"dune-release" {< "1.3.0"}
|
|
34
|
-
"js_of_ocaml-compiler" {< "3.6.0"}
|
|
35
|
-
"jbuilder" {= "transition"}
|
|
36
|
-
]
|
|
37
|
-
dev-repo: "git+https://github.com/ocaml/dune.git"
|
|
38
|
-
build: [
|
|
39
|
-
# opam 2 sets OPAM_SWITCH_PREFIX, so we don't need a hardcoded path
|
|
40
|
-
["ocaml" "configure.ml" "--libdir" lib] {opam-version < "2"}
|
|
41
|
-
["ocaml" "bootstrap.ml" "-j" jobs]
|
|
42
|
-
["./dune.exe" "build" "-p" name "--profile" "dune-bootstrap" "-j" jobs]
|
|
43
|
-
]
|
|
44
|
-
depends: [
|
|
45
|
-
# Please keep the lower bound in sync with .github/workflows/workflow.yml,
|
|
46
|
-
# dune-project and min_ocaml_version in bootstrap.ml
|
|
47
|
-
("ocaml" {>= "4.08"} | ("ocaml" {< "4.08~~"} & "ocamlfind-secondary"))
|
|
48
|
-
"base-unix"
|
|
49
|
-
"base-threads"
|
|
50
|
-
]
|
|
51
|
-
x-commit-hash: "e41c66259135d6d1d72b031be6684bf8826a2586"
|
|
52
|
-
url {
|
|
53
|
-
src: "https://github.com/ocaml/dune/releases/download/2.9.1/dune-2.9.1.tbz"
|
|
54
|
-
checksum: [
|
|
55
|
-
"sha256=b374feb22b34099ccc6dd32128e18d088ff9a81837952b29f05110b308c09f26"
|
|
56
|
-
"sha512=fce1aa520db785c25ded75a959e9dafeb7887d4f5deeb14b044cd5b9e2d235dca24589d794d2f01513765bc4764cf72f8659bd15f3a4fc06efa61363dc5d709b"
|
|
57
|
-
]
|
|
58
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
build: [
|
|
3
|
-
["dune" "subst"] {dev}
|
|
4
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
5
|
-
["dune" "runtest" "-p" name "-j" jobs] {with-test}
|
|
6
|
-
["dune" "build" "-p" name "@doc"] {with-doc}
|
|
7
|
-
]
|
|
8
|
-
maintainer: ["martin@mjambon.com" "rudi.grinberg@gmail.com"]
|
|
9
|
-
authors: ["Martin Jambon"]
|
|
10
|
-
bug-reports: "https://github.com/mjambon/easy-format/issues"
|
|
11
|
-
homepage: "https://github.com/mjambon/easy-format"
|
|
12
|
-
doc: "https://mjambon.github.io/easy-format/"
|
|
13
|
-
license: "BSD-3-Clause"
|
|
14
|
-
dev-repo: "git+https://github.com/mjambon/easy-format.git"
|
|
15
|
-
synopsis:
|
|
16
|
-
"High-level and functional interface to the Format module of the OCaml standard library"
|
|
17
|
-
description: """
|
|
18
|
-
|
|
19
|
-
This module offers a high-level and functional interface to the Format module of
|
|
20
|
-
the OCaml standard library. It is a pretty-printing facility, i.e. it takes as
|
|
21
|
-
input some code represented as a tree and formats this code into the most
|
|
22
|
-
visually satisfying result, breaking and indenting lines of code where
|
|
23
|
-
appropriate.
|
|
24
|
-
|
|
25
|
-
Input data must be first modelled and converted into a tree using 3 kinds of
|
|
26
|
-
nodes:
|
|
27
|
-
|
|
28
|
-
* atoms
|
|
29
|
-
* lists
|
|
30
|
-
* labelled nodes
|
|
31
|
-
|
|
32
|
-
Atoms represent any text that is guaranteed to be printed as-is. Lists can model
|
|
33
|
-
any sequence of items such as arrays of data or lists of definitions that are
|
|
34
|
-
labelled with something like "int main", "let x =" or "x:"."""
|
|
35
|
-
depends: [
|
|
36
|
-
"dune" {>= "1.10"}
|
|
37
|
-
"ocaml" {>= "4.02.3"}
|
|
38
|
-
]
|
|
39
|
-
url {
|
|
40
|
-
src:
|
|
41
|
-
"https://github.com/mjambon/easy-format/releases/download/1.3.2/easy-format-1.3.2.tbz"
|
|
42
|
-
checksum: [
|
|
43
|
-
"sha256=3440c2b882d537ae5e9011eb06abb53f5667e651ea4bb3b460ea8230fa8c1926"
|
|
44
|
-
"sha512=e39377a2ff020ceb9ac29e8515a89d9bdbc91dfcfa871c4e3baafa56753fac2896768e5d9822a050dc1e2ade43c8967afb69391a386c0a8ecd4e1f774e236135"
|
|
45
|
-
]
|
|
46
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "francois.pottier@inria.fr"
|
|
3
|
-
authors: [
|
|
4
|
-
"François Pottier <francois.pottier@inria.fr>"
|
|
5
|
-
]
|
|
6
|
-
homepage: "https://gitlab.inria.fr/fpottier/fix"
|
|
7
|
-
dev-repo: "git+https://gitlab.inria.fr/fpottier/fix.git"
|
|
8
|
-
bug-reports: "francois.pottier@inria.fr"
|
|
9
|
-
build: [
|
|
10
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
11
|
-
]
|
|
12
|
-
depends: [
|
|
13
|
-
"ocaml" { >= "4.03" }
|
|
14
|
-
"dune" {>= "1.3" }
|
|
15
|
-
]
|
|
16
|
-
synopsis: "Facilities for memoization and fixed points"
|
|
17
|
-
url {
|
|
18
|
-
src:
|
|
19
|
-
"https://gitlab.inria.fr/fpottier/fix/-/archive/20201120/archive.tar.gz"
|
|
20
|
-
checksum: [
|
|
21
|
-
"md5=7eb570b759635fe66f3556d2b1cc88e3"
|
|
22
|
-
"sha512=344dcc619f9e8b8a6c998775b6d2dab2ea5253e6a67abe4797f76dc5dd30bc776568abce1e90477422e9db447821579889737e3531c42139708f813e983ea5d4"
|
|
23
|
-
]
|
|
24
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
|
|
3
|
-
authors: ["The fpath programmers"]
|
|
4
|
-
homepage: "https://erratique.ch/software/fpath"
|
|
5
|
-
doc: "https://erratique.ch/software/fpath/doc"
|
|
6
|
-
dev-repo: "git+https://erratique.ch/repos/fpath.git"
|
|
7
|
-
bug-reports: "https://github.com/dbuenzli/fpath/issues"
|
|
8
|
-
tags: [ "file" "system" "path" "org:erratique" ]
|
|
9
|
-
license: "ISC"
|
|
10
|
-
depends: [
|
|
11
|
-
"ocaml" {>= "4.03.0"}
|
|
12
|
-
"ocamlfind" {build}
|
|
13
|
-
"ocamlbuild" {build}
|
|
14
|
-
"topkg" {build & >= "0.9.0"}
|
|
15
|
-
"astring"
|
|
16
|
-
]
|
|
17
|
-
build: [[
|
|
18
|
-
"ocaml" "pkg/pkg.ml" "build"
|
|
19
|
-
"--dev-pkg=true" {dev} ]]
|
|
20
|
-
|
|
21
|
-
synopsis: """File system paths for OCaml"""
|
|
22
|
-
description: """\
|
|
23
|
-
|
|
24
|
-
Fpath is an OCaml module for handling file system paths with POSIX or
|
|
25
|
-
Windows conventions. Fpath processes paths without accessing the file
|
|
26
|
-
system and is independent from any system library.
|
|
27
|
-
|
|
28
|
-
Fpath depends on [Astring][astring] and is distributed under the ISC
|
|
29
|
-
license.
|
|
30
|
-
|
|
31
|
-
[astring]: http://erratique.ch/software/astring
|
|
32
|
-
"""
|
|
33
|
-
url {
|
|
34
|
-
archive: "https://erratique.ch/software/fpath/releases/fpath-0.7.3.tbz"
|
|
35
|
-
checksum: "0740b530e8fed5b0adc5eee8463cfc2f"
|
|
36
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "francois.pottier@inria.fr"
|
|
3
|
-
authors: [
|
|
4
|
-
"François Pottier <francois.pottier@inria.fr>"
|
|
5
|
-
"Yann Régis-Gianas <yrg@pps.univ-paris-diderot.fr>"
|
|
6
|
-
]
|
|
7
|
-
homepage: "http://gitlab.inria.fr/fpottier/menhir"
|
|
8
|
-
dev-repo: "git+https://gitlab.inria.fr/fpottier/menhir.git"
|
|
9
|
-
bug-reports: "https://gitlab.inria.fr/fpottier/menhir/-/issues"
|
|
10
|
-
license: "LGPL-2.0-only with OCaml-LGPL-linking-exception"
|
|
11
|
-
build: [
|
|
12
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
13
|
-
]
|
|
14
|
-
depends: [
|
|
15
|
-
"ocaml" {>= "4.02.3"}
|
|
16
|
-
"dune" {>= "2.2.0"}
|
|
17
|
-
"menhirLib" {= version}
|
|
18
|
-
"menhirSdk" {= version}
|
|
19
|
-
]
|
|
20
|
-
synopsis: "An LR(1) parser generator"
|
|
21
|
-
url {
|
|
22
|
-
src:
|
|
23
|
-
"https://gitlab.inria.fr/fpottier/menhir/-/archive/20211012/archive.tar.gz"
|
|
24
|
-
checksum: [
|
|
25
|
-
"md5=f631f4c03859254a7d725f054633ee44"
|
|
26
|
-
"sha512=13376d3c07158c36dd9b4617294a7e4d53ba90062ab09fae48c36b76f08133e2ffc4be13a1bc88980617c5d1046631844815c9ee7fd7c821699bacaf245b1ed8"
|
|
27
|
-
]
|
|
28
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "francois.pottier@inria.fr"
|
|
3
|
-
authors: [
|
|
4
|
-
"François Pottier <francois.pottier@inria.fr>"
|
|
5
|
-
"Yann Régis-Gianas <yrg@pps.univ-paris-diderot.fr>"
|
|
6
|
-
]
|
|
7
|
-
homepage: "http://gitlab.inria.fr/fpottier/menhir"
|
|
8
|
-
dev-repo: "git+https://gitlab.inria.fr/fpottier/menhir.git"
|
|
9
|
-
bug-reports: "https://gitlab.inria.fr/fpottier/menhir/-/issues"
|
|
10
|
-
license: "LGPL-2.0-only with OCaml-LGPL-linking-exception"
|
|
11
|
-
build: [
|
|
12
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
13
|
-
]
|
|
14
|
-
depends: [
|
|
15
|
-
"ocaml" { >= "4.02.3" }
|
|
16
|
-
"dune" { >= "2.0.0" }
|
|
17
|
-
]
|
|
18
|
-
conflicts: [
|
|
19
|
-
"menhir" { != version }
|
|
20
|
-
]
|
|
21
|
-
synopsis: "Runtime support library for parsers generated by Menhir"
|
|
22
|
-
url {
|
|
23
|
-
src:
|
|
24
|
-
"https://gitlab.inria.fr/fpottier/menhir/-/archive/20211012/archive.tar.gz"
|
|
25
|
-
checksum: [
|
|
26
|
-
"md5=f631f4c03859254a7d725f054633ee44"
|
|
27
|
-
"sha512=13376d3c07158c36dd9b4617294a7e4d53ba90062ab09fae48c36b76f08133e2ffc4be13a1bc88980617c5d1046631844815c9ee7fd7c821699bacaf245b1ed8"
|
|
28
|
-
]
|
|
29
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
opam-version: "2.0"
|
|
2
|
-
maintainer: "francois.pottier@inria.fr"
|
|
3
|
-
authors: [
|
|
4
|
-
"François Pottier <francois.pottier@inria.fr>"
|
|
5
|
-
"Yann Régis-Gianas <yrg@pps.univ-paris-diderot.fr>"
|
|
6
|
-
]
|
|
7
|
-
homepage: "http://gitlab.inria.fr/fpottier/menhir"
|
|
8
|
-
dev-repo: "git+https://gitlab.inria.fr/fpottier/menhir.git"
|
|
9
|
-
bug-reports: "https://gitlab.inria.fr/fpottier/menhir/-/issues"
|
|
10
|
-
license: "LGPL-2.0-only with OCaml-LGPL-linking-exception"
|
|
11
|
-
build: [
|
|
12
|
-
["dune" "build" "-p" name "-j" jobs]
|
|
13
|
-
]
|
|
14
|
-
depends: [
|
|
15
|
-
"ocaml" { >= "4.02.3" }
|
|
16
|
-
"dune" { >= "2.0.0" }
|
|
17
|
-
]
|
|
18
|
-
conflicts: [
|
|
19
|
-
"menhir" { != version }
|
|
20
|
-
]
|
|
21
|
-
synopsis: "Compile-time library for auxiliary tools related to Menhir"
|
|
22
|
-
url {
|
|
23
|
-
src:
|
|
24
|
-
"https://gitlab.inria.fr/fpottier/menhir/-/archive/20211012/archive.tar.gz"
|
|
25
|
-
checksum: [
|
|
26
|
-
"md5=f631f4c03859254a7d725f054633ee44"
|
|
27
|
-
"sha512=13376d3c07158c36dd9b4617294a7e4d53ba90062ab09fae48c36b76f08133e2ffc4be13a1bc88980617c5d1046631844815c9ee7fd7c821699bacaf245b1ed8"
|
|
28
|
-
]
|
|
29
|
-
}
|