Browse Source

Alias latest versions on installation (#129)

* Fix build with fixed versions

* Use carets

* support `lts/dubnium` format

* trim string in test

* fix typo

* Add resolution to windows.json too

* Use specific opam file
remotes/origin/add-simple-redirecting-site
Gal Schlezinger 6 years ago committed by GitHub
parent
commit
e85f488026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3796
      esy.lock/index.json
  2. 8
      esy.lock/opam/base.v0.12.2/opam
  3. 2
      esy.lock/opam/base64.3.2.0/opam
  4. 4
      esy.lock/opam/cmdliner.1.0.4/opam
  5. 9
      esy.lock/opam/cohttp-lwt-unix.2.1.3/opam
  6. 15
      esy.lock/opam/cohttp-lwt.2.1.3/opam
  7. 12
      esy.lock/opam/cohttp.2.1.3/opam
  8. 2
      esy.lock/opam/conduit-lwt-unix.1.4.0/opam
  9. 2
      esy.lock/opam/conduit-lwt.1.4.0/opam
  10. 4
      esy.lock/opam/conduit.1.4.0/opam
  11. 3
      esy.lock/opam/conf-m4.1/opam
  12. 3
      esy.lock/opam/conf-openssl.1/opam
  13. 3
      esy.lock/opam/conf-pkg-config.1.1/opam
  14. 3
      esy.lock/opam/conf-which.1/opam
  15. 23
      esy.lock/opam/cppo.1.6.5/opam
  16. 37
      esy.lock/opam/cppo.1.6.6/opam
  17. 25
      esy.lock/opam/cppo_ocamlbuild.1.6.0/opam
  18. 49
      esy.lock/opam/dune.1.10.0/opam
  19. 2
      esy.lock/opam/fieldslib.v0.12.0/opam
  20. 4
      esy.lock/opam/ipaddr.3.1.0/opam
  21. 29
      esy.lock/opam/junit.2.0.1/opam
  22. 2
      esy.lock/opam/lwt.4.2.1/opam
  23. 2
      esy.lock/opam/lwt_ppx.1.2.2/opam
  24. 2
      esy.lock/opam/macaddr.3.1.0/opam
  25. 2
      esy.lock/opam/magic-mime.1.1.1/opam
  26. 26
      esy.lock/opam/markup.0.8.1/opam
  27. 9
      esy.lock/opam/menhir.20190626/opam
  28. 20
      esy.lock/opam/merlin-extend.0.4/opam
  29. 74
      esy.lock/opam/merlin.3.2.2/opam
  30. 69
      esy.lock/opam/merlin.3.3.1/opam
  31. 2
      esy.lock/opam/mmap.1.1.0/opam
  32. 129
      esy.lock/opam/num.1.1/files/findlib-install.patch
  33. 0
      esy.lock/opam/num.1.2/files/installation-warning.patch
  34. 15
      esy.lock/opam/num.1.2/opam
  35. 8
      esy.lock/opam/ocaml-compiler-libs.v0.12.0/opam
  36. 8
      esy.lock/opam/ocaml-migrate-parsetree.1.4.0/opam
  37. 2
      esy.lock/opam/parsexp.v0.12.0/opam
  38. 2
      esy.lock/opam/ppx_derivers.1.2.1/opam
  39. 48
      esy.lock/opam/ppx_deriving.4.2.1/opam
  40. 35
      esy.lock/opam/ppx_deriving.4.4/opam
  41. 4
      esy.lock/opam/ppx_fields_conv.v0.12.0/opam
  42. 4
      esy.lock/opam/ppx_let.v0.12.0/opam
  43. 4
      esy.lock/opam/ppx_sexp_conv.v0.12.0/opam
  44. 10
      esy.lock/opam/ppx_tools_versioned.5.2.3/opam
  45. 31
      esy.lock/opam/ppxfind.1.3/opam
  46. 8
      esy.lock/opam/ppxlib.0.8.0/opam
  47. 49
      esy.lock/opam/ptime.0.8.5/opam
  48. 2
      esy.lock/opam/re.1.9.0/opam
  49. 8
      esy.lock/opam/result.1.4/opam
  50. 2
      esy.lock/opam/sexplib.v0.12.0/opam
  51. 2
      esy.lock/opam/sexplib0.v0.12.0/opam
  52. 2
      esy.lock/opam/ssl.0.5.7/opam
  53. 2
      esy.lock/opam/stdio.v0.12.0/opam
  54. 2
      esy.lock/opam/stdlib-shims.0.1.0/opam
  55. 27
      esy.lock/opam/stringext.1.5.0/opam
  56. 32
      esy.lock/opam/stringext.1.6.0/opam
  57. 45
      esy.lock/opam/tyxml.4.3.0/opam
  58. 33
      esy.lock/opam/uri-sexp.3.0.0/opam
  59. 14
      esy.lock/opam/uri.3.0.0/opam
  60. 2
      esy.lock/opam/yojson.1.7.0/opam
  61. 6
      esy.lock/overrides/opam__s__conf_pkg_config_opam__c__1.1_opam_override/package.json
  62. 0
      esy.lock/overrides/opam__s__dune_opam__c__1.10.0_opam_override/package.json
  63. 34
      esy.lock/overrides/opam__s__merlin_extend_opam__c__0.3_opam_override/files/merlin-extend-winfix-4.2.3007.patch
  64. 34
      esy.lock/overrides/opam__s__merlin_extend_opam__c__0.3_opam_override/files/merlin-extend-winfix.patch
  65. 15
      esy.lock/overrides/opam__s__merlin_extend_opam__c__0.3_opam_override/package.json
  66. 20
      esy.lock/overrides/opam__s__num_opam__c__1.1_opam_override/files/num-1.1.patch
  67. 5
      esy.lock/overrides/opam__s__num_opam__c__1.2_opam_override/package.json
  68. 78
      esy.lock/overrides/opam__s__ppx__deriving_opam__c__4.2.1_opam_override/files/ppx_deriving-4.2.1.patch
  69. 15
      esy.lock/overrides/opam__s__ppx__deriving_opam__c__4.2.1_opam_override/package.json
  70. 99
      executable/Install.re
  71. 1
      feature_tests/use_nvmrc_lts/.nvmrc
  72. 9
      feature_tests/use_nvmrc_lts/run.sh
  73. 122
      library/Versions.re
  74. 35
      package.json
  75. 2
      test/SmokeTest.re
  76. 1
      windows.json

3796
esy.lock/index.json

File diff suppressed because it is too large Load Diff

8
esy.lock/opam/base.v0.12.1/opam → esy.lock/opam/base.v0.12.2/opam

@ -10,9 +10,9 @@ build: [ @@ -10,9 +10,9 @@ build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "4.04.2" & < "4.08.0"}
"ocaml" {>= "4.04.2" & < "4.09.0"}
"sexplib0" {>= "v0.12" & < "v0.13"}
"dune" {build & >= "1.5.1"}
"dune" {>= "1.5.1"}
]
depopts: [
"base-native-int63"
@ -33,6 +33,6 @@ provided by companion libraries such as stdio: @@ -33,6 +33,6 @@ provided by companion libraries such as stdio:
https://github.com/janestreet/stdio
"
url {
src: "https://github.com/janestreet/base/archive/v0.12.1.tar.gz"
checksum: "md5=8df12fc6f12669ad6c702673ec84214c"
src: "https://github.com/janestreet/base/archive/v0.12.2.tar.gz"
checksum: "md5=7150e848a730369a2549d01645fb6c72"
}

2
esy.lock/opam/base64.3.2.0/opam

@ -17,7 +17,7 @@ representation. It is specified in RFC 4648. @@ -17,7 +17,7 @@ representation. It is specified in RFC 4648.
depends: [
"ocaml" {>="4.03.0"}
"base-bytes"
"dune" {build & >= "1.0.1"}
"dune" {>= "1.0.1"}
"bos" {with-test}
"rresult" {with-test}
"alcotest" {with-test}

4
esy.lock/opam/cmdliner.1.0.3/opam → esy.lock/opam/cmdliner.1.0.4/opam

@ -31,6 +31,6 @@ Cmdliner has no dependencies and is distributed under the ISC license. @@ -31,6 +31,6 @@ Cmdliner has no dependencies and is distributed under the ISC license.
[2]: http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html
"""
url {
archive: "http://erratique.ch/software/cmdliner/releases/cmdliner-1.0.3.tbz"
checksum: "3674ad01d4445424105d33818c78fba8"
archive: "http://erratique.ch/software/cmdliner/releases/cmdliner-1.0.4.tbz"
checksum: "fe2213d0bc63b1e10a2d0aa66d2fc8d9"
}

9
esy.lock/opam/cohttp-lwt-unix.2.0.0/opam → esy.lock/opam/cohttp-lwt-unix.2.1.3/opam

@ -26,7 +26,7 @@ doc: "https://mirage.github.io/ocaml-cohttp/" @@ -26,7 +26,7 @@ doc: "https://mirage.github.io/ocaml-cohttp/"
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
depends: [
"ocaml" {>= "4.04.1"}
"dune" {build & >= "1.1.0"}
"dune" {>= "1.1.0"}
"conduit-lwt-unix" {>= "1.0.3"}
"cmdliner"
"magic-mime"
@ -45,6 +45,9 @@ build: [ @@ -45,6 +45,9 @@ build: [
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
url {
src:
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.0.0/cohttp-v2.0.0.tbz"
checksum: "md5=c354599fdb4f2625b6510182de0fc86b"
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.1.3/cohttp-v2.1.3.tbz"
checksum: [
"sha256=6d9dd309dbf454c238bfeb39f012a3044f4a80ec9e4baa7070fcdf738fb5eff7"
"sha512=0d7d97ad228745213cbb2a0f6267d7441d4409d0f1b1c971c6c4a506a0351291d5c7d4b881d94847627e806af63066d503c872735bce8c598679082871070694"
]
}

15
esy.lock/opam/cohttp-lwt.2.0.0/opam → esy.lock/opam/cohttp-lwt.2.1.3/opam

@ -26,11 +26,11 @@ doc: "https://mirage.github.io/ocaml-cohttp/" @@ -26,11 +26,11 @@ doc: "https://mirage.github.io/ocaml-cohttp/"
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
depends: [
"ocaml" {>= "4.04.1"}
"dune" {build & >= "1.1.0"}
"cohttp" {>= "2.0.0"}
"dune" {>= "1.1.0"}
"cohttp" {>= "1.0.0"}
"lwt" {>= "2.5.0"}
"sexplib0" {< "v0.13"}
"ppx_sexp_conv" {>= "v0.9.0" & < "v0.13"}
"sexplib0"
"ppx_sexp_conv" {>= "v0.9.0"}
"logs"
]
build: [
@ -41,6 +41,9 @@ build: [ @@ -41,6 +41,9 @@ build: [
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
url {
src:
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.0.0/cohttp-v2.0.0.tbz"
checksum: "md5=c354599fdb4f2625b6510182de0fc86b"
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.1.3/cohttp-v2.1.3.tbz"
checksum: [
"sha256=6d9dd309dbf454c238bfeb39f012a3044f4a80ec9e4baa7070fcdf738fb5eff7"
"sha512=0d7d97ad228745213cbb2a0f6267d7441d4409d0f1b1c971c6c4a506a0351291d5c7d4b881d94847627e806af63066d503c872735bce8c598679082871070694"
]
}

12
esy.lock/opam/cohttp.2.1.2/opam → esy.lock/opam/cohttp.2.1.3/opam

@ -33,9 +33,10 @@ doc: "https://mirage.github.io/ocaml-cohttp/" @@ -33,9 +33,10 @@ doc: "https://mirage.github.io/ocaml-cohttp/"
bug-reports: "https://github.com/mirage/ocaml-cohttp/issues"
depends: [
"ocaml" {>= "4.04.1"}
"dune" {build & >= "1.1.0"}
"re" {>= "1.7.2"}
"dune" {>= "1.1.0"}
"re" {>= "1.9.0"}
"uri" {>= "2.0.0"}
"uri-sexp"
"fieldslib"
"sexplib0"
"ppx_fields_conv" {>= "v0.9.0"}
@ -54,6 +55,9 @@ build: [ @@ -54,6 +55,9 @@ build: [
dev-repo: "git+https://github.com/mirage/ocaml-cohttp.git"
url {
src:
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.1.2/cohttp-v2.1.2.tbz"
checksum: "md5=1bdde705d853175c67666b45bf3edc43"
"https://github.com/mirage/ocaml-cohttp/releases/download/v2.1.3/cohttp-v2.1.3.tbz"
checksum: [
"sha256=6d9dd309dbf454c238bfeb39f012a3044f4a80ec9e4baa7070fcdf738fb5eff7"
"sha512=0d7d97ad228745213cbb2a0f6267d7441d4409d0f1b1c971c6c4a506a0351291d5c7d4b881d94847627e806af63066d503c872735bce8c598679082871070694"
]
}

2
esy.lock/opam/conduit-lwt-unix.1.4.0/opam

@ -9,7 +9,7 @@ homepage: "https://github.com/mirage/ocaml-conduit" @@ -9,7 +9,7 @@ homepage: "https://github.com/mirage/ocaml-conduit"
bug-reports: "https://github.com/mirage/ocaml-conduit/issues"
depends: [
"ocaml" {>= "4.03.0"}
"dune" {build}
"dune"
"base-unix"
"ppx_sexp_conv" {< "v0.13"}
"conduit-lwt" {>="1.4.0"}

2
esy.lock/opam/conduit-lwt.1.4.0/opam

@ -9,7 +9,7 @@ homepage: "https://github.com/mirage/ocaml-conduit" @@ -9,7 +9,7 @@ homepage: "https://github.com/mirage/ocaml-conduit"
bug-reports: "https://github.com/mirage/ocaml-conduit/issues"
depends: [
"ocaml" {>= "4.03.0"}
"dune" {build}
"dune"
"base-unix"
"ppx_sexp_conv" {< "v0.13"}
"sexplib" {< "v0.13"}

4
esy.lock/opam/conduit.1.4.0/opam

@ -10,14 +10,14 @@ doc: "https://mirage.github.io/ocaml-conduit/" @@ -10,14 +10,14 @@ doc: "https://mirage.github.io/ocaml-conduit/"
bug-reports: "https://github.com/mirage/ocaml-conduit/issues"
depends: [
"ocaml" {>= "4.03.0"}
"dune" {build}
"dune"
"ppx_sexp_conv" {< "v0.13"}
"sexplib" {< "v0.13"}
"astring"
"uri"
"result"
"logs" {>= "0.5.0"}
"ipaddr" {>= "3.0.0"}
"ipaddr" {>= "3.0.0" & < "4.0.0"}
]
build: [
["dune" "subst"] {pinned}

3
esy.lock/opam/conf-m4.1/opam

@ -6,8 +6,7 @@ authors: "GNU Project" @@ -6,8 +6,7 @@ authors: "GNU Project"
license: "GPL-3"
build: [["sh" "-exc" "echo | m4"]]
depexts: [
["m4"] {os-distribution = "debian"}
["m4"] {os-distribution = "ubuntu"}
["m4"] {os-family = "debian"}
["m4"] {os-distribution = "fedora"}
["m4"] {os-distribution = "rhel"}
["m4"] {os-distribution = "centos"}

3
esy.lock/opam/conf-openssl.1/opam

@ -11,8 +11,7 @@ build: [ @@ -11,8 +11,7 @@ build: [
]
depends: ["conf-pkg-config" {build}]
depexts: [
["libssl-dev"] {os-distribution = "debian"}
["libssl-dev"] {os-distribution = "ubuntu"}
["libssl-dev"] {os-family = "debian"}
["openssl-devel"] {os-distribution = "centos"}
["openssl-devel"] {os-distribution = "ol"}
["openssl-devel"] {os-distribution = "fedora"}

3
esy.lock/opam/conf-pkg-config.1.1/opam

@ -17,8 +17,7 @@ post-messages: [ @@ -17,8 +17,7 @@ post-messages: [
"conf-pkg-config: A symlink to /usr/local/bin/pkgconf has been installed in the OPAM bin directory (%{bin}%) on your PATH as 'pkg-config'. This is necessary for correct operation." {os = "openbsd"}
]
depexts: [
["pkg-config"] {os-distribution = "debian"}
["pkg-config"] {os-distribution = "ubuntu"}
["pkg-config"] {os-family = "debian"}
["pkg-config"] {os-distribution = "arch"}
["pkgconfig"] {os-distribution = "fedora"}
["pkgconfig"] {os-distribution = "centos"}

3
esy.lock/opam/conf-which.1/opam

@ -9,8 +9,7 @@ depexts: [ @@ -9,8 +9,7 @@ depexts: [
["which"] {os-distribution = "centos"}
["which"] {os-distribution = "fedora"}
["which"] {os-family = "suse"}
["debianutils"] {os-distribution = "debian"}
["debianutils"] {os-distribution = "ubuntu"}
["debianutils"] {os-family = "debian"}
["which"] {os-distribution = "nixos"}
["which"] {os-distribution = "arch"}
]

23
esy.lock/opam/cppo.1.6.5/opam

@ -1,23 +0,0 @@ @@ -1,23 +0,0 @@
opam-version: "2.0"
maintainer: "martin@mjambon.com"
authors: ["Martin Jambon"]
homepage: "https://github.com/mjambon/cppo"
dev-repo: "git+https://github.com/mjambon/cppo.git"
bug-reports: "https://github.com/mjambon/cppo/issues"
license: "BSD-3-Clause"
build: [
["jbuilder" "subst" "-p" name] {pinned}
["jbuilder" "build" "-p" name "-j" jobs]
["jbuilder" "runtest" "-p" name] {with-test}
]
depends: [
"ocaml"
"jbuilder" {build & >= "1.0+beta17"}
"base-unix"
]
synopsis: "Equivalent of the C preprocessor for OCaml programs"
url {
src: "https://github.com/mjambon/cppo/archive/v1.6.5.tar.gz"
checksum: "md5=1cd25741d31417995b0973fe0b6f6c82"
}

37
esy.lock/opam/cppo.1.6.6/opam

@ -0,0 +1,37 @@ @@ -0,0 +1,37 @@
opam-version: "2.0"
maintainer: "martin@mjambon.com"
authors: "Martin Jambon"
license: "BSD-3-Clause"
homepage: "http://mjambon.com/cppo.html"
doc: "https://ocaml-community.github.io/cppo/"
bug-reports: "https://github.com/ocaml-community/cppo/issues"
depends: [
"ocaml" {>= "4.03"}
"dune" {>= "1.0"}
"base-unix"
]
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/ocaml-community/cppo.git"
synopsis: "Code preprocessor like cpp for OCaml"
description: """
Cppo is an equivalent of the C preprocessor for OCaml programs.
It allows the definition of simple macros and file inclusion.
Cppo is:
* more OCaml-friendly than cpp
* easy to learn without consulting a manual
* reasonably fast
* simple to install and to maintain
"""
url {
src: "https://github.com/ocaml-community/cppo/releases/download/v1.6.6/cppo-v1.6.6.tbz"
checksum: [
"sha256=e7272996a7789175b87bb998efd079794a8db6625aae990d73f7b4484a07b8a0"
"sha512=44ecf9d225d9e45490a2feac0bde04865ca398dba6c3579e3370fcd1ea255707b8883590852af8b2df87123801062b9f3acce2455c092deabf431f9c4fb8d8eb"
]
}

25
esy.lock/opam/cppo_ocamlbuild.1.6.0/opam

@ -1,25 +0,0 @@ @@ -1,25 +0,0 @@
opam-version: "2.0"
maintainer: "martin@mjambon.com"
authors: ["Martin Jambon"]
homepage: "http://mjambon.com/cppo.html"
dev-repo: "git+https://github.com/mjambon/cppo.git"
bug-reports: "https://github.com/mjambon/cppo/issues"
license: "BSD-3-Clause"
build: [
["jbuilder" "subst" "-p" name] {pinned}
["jbuilder" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml"
"jbuilder" {build & >= "1.0+beta10"}
"ocamlbuild"
"ocamlfind"
"cppo" {>= "1.6.0"}
]
synopsis: "ocamlbuild support for cppo, OCaml-friendly source preprocessor"
url {
src: "https://github.com/mjambon/cppo/archive/v1.6.0.tar.gz"
checksum: "md5=aee411b3546bc5d198c71ae9185cade4"
}

49
esy.lock/opam/dune.1.9.3/opam → esy.lock/opam/dune.1.10.0/opam

@ -1,29 +1,14 @@ @@ -1,29 +1,14 @@
opam-version: "2.0"
maintainer: "opensource@janestreet.com"
maintainer: ["Jane Street Group, LLC <opensource@janestreet.com>"]
authors: ["Jane Street Group, LLC <opensource@janestreet.com>"]
homepage: "https://github.com/ocaml/dune"
bug-reports: "https://github.com/ocaml/dune/issues"
dev-repo: "git+https://github.com/ocaml/dune.git"
homepage: "https://github.com/ocaml/dune"
doc: "https://dune.readthedocs.io/"
license: "MIT"
depends: [
"ocaml" {>= "4.02"}
"base-unix"
"base-threads"
]
build: [
# opam 2 sets OPAM_SWITCH_PREFIX, so we don't need a hardcoded path
["ocaml" "configure.ml" "--libdir" lib] {opam-version < "2"}
["ocaml" "bootstrap.ml"]
["./boot.exe" "--release" "--subst"] {pinned}
["./boot.exe" "--release" "-j" jobs]
]
conflicts: [
"jbuilder" {!= "transition"}
"odoc" {< "1.3.0"}
]
dev-repo: "git+https://github.com/ocaml/dune.git"
synopsis: "Fast, portable and opinionated build system"
description: """
dune is a build system that was designed to simplify the release of
Jane Street packages. It reads metadata from "dune" files following a
very simple s-expression syntax.
@ -41,10 +26,28 @@ several opam roots/switches simultaneously. This helps maintaining @@ -41,10 +26,28 @@ several opam roots/switches simultaneously. This helps maintaining
packages across several versions of OCaml and gives cross-compilation
for free.
"""
depends: [
"ocaml" {>= "4.02"}
"base-unix"
"base-threads"
]
conflicts: [
"jbuilder" {!= "transition"}
"odoc" {< "1.3.0"}
"dune-release" {< "1.3.0"}
]
build: [
# opam 2 sets OPAM_SWITCH_PREFIX, so we don't need a hardcoded path
["ocaml" "configure.ml" "--libdir" lib] {opam-version < "2"}
["ocaml" "bootstrap.ml"]
["./boot.exe" "--release" "--subst"] {pinned}
["./boot.exe" "--release" "-j" jobs]
]
url {
src: "https://github.com/ocaml/dune/releases/download/1.9.3/dune-1.9.3.tbz"
src:
"https://github.com/ocaml/dune/releases/download/1.10.0/dune-1.10.0.tbz"
checksum: [
"sha256=317bec6de4429b5dee157e9864294e1534b722a2acfc50480bd16c804ab790ca"
"sha512=17450333156622d4612816f9ad5a224c741d62b247d63c1d77b5359d37517c1f9bc598dd11fa024f4e02ccf7eef474cd532eef1d9c34ed13439db6c781f9fa7a"
"sha256=ed16e628de270c5dc242fbf52e6b80252f7039c04d93970779f13c135e4edd95"
"sha512=2ba3e9a91650be2402bd88dc883b2b5dc1a73d63348a0fa5a9e5fa054da400f84a30e92656e7bec2c0a2786584ce85160ec5ce0b495908417d630f049af06675"
]
}

2
esy.lock/opam/fieldslib.v0.12.0/opam

@ -12,7 +12,7 @@ build: [ @@ -12,7 +12,7 @@ build: [
depends: [
"ocaml" {>= "4.04.2"}
"base" {>= "v0.12" & < "v0.13"}
"dune" {build & >= "1.5.1"}
"dune" {>= "1.5.1"}
]
synopsis: "Syntax extension to define first class values representing record fields, to get and set record fields, iterate and fold over all fields of a record and create new record values"
description: "

4
esy.lock/opam/ipaddr.3.1.0/opam

@ -28,8 +28,8 @@ doc: "https://mirage.github.io/ocaml-ipaddr/" @@ -28,8 +28,8 @@ doc: "https://mirage.github.io/ocaml-ipaddr/"
bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues"
depends: [
"ocaml" {>= "4.04.0"}
"dune" {build}
"macaddr"
"dune"
"macaddr" {=version}
"sexplib0"
"ounit" {with-test}
"ppx_sexp_conv" {with-test}

29
esy.lock/opam/junit.2.0.1/opam

@ -0,0 +1,29 @@ @@ -0,0 +1,29 @@
opam-version: "2.0"
maintainer: "Louis Roché <louis@louisroche.net>"
authors: "Louis Roché <louis@louisroche.net>"
homepage: "https://github.com/Khady/ocaml-junit"
bug-reports: "https://github.com/Khady/ocaml-junit/issues"
license: "LGPLv3+ with OCaml linking exception"
dev-repo: "git+https://github.com/Khady/ocaml-junit.git"
doc: "https://khady.github.io/ocaml-junit/"
tags: ["junit" "jenkins"]
depends: [
"dune" {>= "1.0"}
"ptime"
"tyxml" {>= "4.0.0"}
"odoc" {with-doc & >= "1.1.1"}
]
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
["dune" "build" "-p" name "-j" jobs] {with-doc}
]
name: "junit"
synopsis: "JUnit XML reports generation library"
description: "JUnit XML reports generation library"
url {
src:
"https://github.com/Khady/ocaml-junit/releases/download/2.0.1/junit-2.0.1.tbz"
checksum: "md5=40224fb3d4f5e47dc5ff4605587d383b"
}

2
esy.lock/opam/lwt.4.2.1/opam

@ -20,7 +20,7 @@ dev-repo: "git+https://github.com/ocsigen/lwt.git" @@ -20,7 +20,7 @@ dev-repo: "git+https://github.com/ocsigen/lwt.git"
depends: [
"cppo" {build & >= "1.1.0"}
"dune" {build}
"dune"
"mmap" # mmap is needed as long as Lwt supports OCaml < 4.06.0.
"ocaml" {>= "4.02.0"}
"result" # result is needed as long as Lwt supports OCaml 4.02.

2
esy.lock/opam/lwt_ppx.1.2.2/opam

@ -16,7 +16,7 @@ maintainer: [ @@ -16,7 +16,7 @@ maintainer: [
dev-repo: "git+https://github.com/ocsigen/lwt.git"
depends: [
"dune" {build}
"dune"
"lwt"
"ocaml" {>= "4.02.0"}
"ocaml-migrate-parsetree"

2
esy.lock/opam/macaddr.3.1.0/opam

@ -9,7 +9,7 @@ doc: "https://mirage.github.io/ocaml-ipaddr/" @@ -9,7 +9,7 @@ doc: "https://mirage.github.io/ocaml-ipaddr/"
bug-reports: "https://github.com/mirage/ocaml-ipaddr/issues"
depends: [
"ocaml" {>= "4.04.0"}
"dune" {build}
"dune"
"sexplib0"
"ounit" {with-test}
"ppx_sexp_conv" {with-test}

2
esy.lock/opam/magic-mime.1.1.1/opam

@ -25,7 +25,7 @@ bug-reports: "https://github.com/mirage/ocaml-magic-mime/issues" @@ -25,7 +25,7 @@ bug-reports: "https://github.com/mirage/ocaml-magic-mime/issues"
dev-repo: "git+https://github.com/mirage/ocaml-magic-mime.git"
depends: [
"ocaml" {>= "4.03.0"}
"dune" {build}
"dune"
]
build: [
["dune" "subst"] {pinned}

26
esy.lock/opam/markup.0.8.0/opam → esy.lock/opam/markup.0.8.1/opam

@ -1,31 +1,33 @@ @@ -1,31 +1,33 @@
opam-version: "2.0"
version: "0.8.0"
maintainer: "Anton Bachin <antonbachin@yahoo.com>"
authors: "Anton Bachin <antonbachin@yahoo.com>"
synopsis: "Error-recovering functional HTML5 and XML parsers and writers"
version: "0.8.1"
license: "BSD"
homepage: "https://github.com/aantron/markup.ml"
doc: "http://aantron.github.io/markup.ml"
bug-reports: "https://github.com/aantron/markup.ml/issues"
authors: "Anton Bachin <antonbachin@yahoo.com>"
maintainer: "Anton Bachin <antonbachin@yahoo.com>"
dev-repo: "git+https://github.com/aantron/markup.ml.git"
license: "BSD"
depends: [
"ocaml"
"dune" {build}
"ounit" {with-test}
"dune"
"uchar"
"uutf" {>= "1.0.0"}
"bisect_ppx" {dev & >= "1.3.0"}
"ounit" {dev}
]
# Markup.ml implicitly requires OCaml 4.02.3, as this is a contraint of Dune.
# Without that, Markup.ml implicitly requires OCaml 4.01.0, as this is a
# constraint of Uutf. Without *that*, Markup.ml works on OCaml 3.11 or searlier.
# constraint of Uutf. Without *that*, Markup.ml works on OCaml 3.11 or earlier.
build: [
["dune" "build" "-p" name "-j" jobs]
]
synopsis: "Error-recovering functional HTML5 and XML parsers and writers"
description: """
Markup.ml provides an HTML parser and an XML parser. The parsers are wrapped in
a simple interface: they are functions that transform byte streams to parsing
@ -47,6 +49,6 @@ a single pass. They automatically detect the character encoding of the input @@ -47,6 +49,6 @@ a single pass. They automatically detect the character encoding of the input
stream, and convert everything to UTF-8."""
url {
src: "https://github.com/aantron/markup.ml/archive/0.8.0.tar.gz"
checksum: "md5=be0e44a8e8a540f633996e0e26109b4d"
src: "https://github.com/aantron/markup.ml/archive/0.8.1.tar.gz"
checksum: "md5=d9cd1bdd9ee5d65af7d36ad5900cc0e2"
}

9
esy.lock/opam/menhir.20181113/opam → esy.lock/opam/menhir.20190626/opam

@ -13,9 +13,6 @@ build: [ @@ -13,9 +13,6 @@ build: [
install: [
[make "-f" "Makefile" "install" "PREFIX=%{prefix}%" "docdir=%{doc}%/menhir" "libdir=%{lib}%/menhir" "mandir=%{man}%/man1"]
]
remove: [
[make "-f" "Makefile" "uninstall" "PREFIX=%{prefix}%" "docdir=%{doc}%/menhir" "libdir=%{lib}%/menhir" "mandir=%{man}%/man1"]
]
depends: [
"ocaml" {>= "4.02"}
"ocamlfind" {build}
@ -24,9 +21,9 @@ depends: [ @@ -24,9 +21,9 @@ depends: [
synopsis: "An LR(1) parser generator"
url {
src:
"https://gitlab.inria.fr/fpottier/menhir/repository/20181113/archive.tar.gz"
"https://gitlab.inria.fr/fpottier/menhir/repository/20190626/archive.tar.gz"
checksum: [
"md5=69ce441a06ea131cd43e7b44c4303f3c"
"sha512=4ddefcd71d305bfb933a4056da57e36c13c99ec6dfcc4695814798fbbd78b4d65828381ebcb0e58c4c0394105ac763af3d475474e05e408f7080315bc3cf6176"
"md5=783961f8d124449a1a335cc8e50f013f"
"sha512=bacc5161682130d894a6476fb79363aa73e5582543265a0c23c9a1f9d974007c04853dc8f6faa2b8bd2e82b2323b8604dcc4cb74308af667698079b394dfd492"
]
}

20
esy.lock/opam/merlin-extend.0.3/opam → esy.lock/opam/merlin-extend.0.4/opam

@ -5,20 +5,24 @@ homepage: "https://github.com/let-def/merlin-extend" @@ -5,20 +5,24 @@ homepage: "https://github.com/let-def/merlin-extend"
bug-reports: "https://github.com/let-def/merlin-extend"
license: "MIT"
dev-repo: "git+https://github.com/let-def/merlin-extend.git"
build: [make]
install: [make "install"]
remove: ["ocamlfind" "remove" "merlin_extend"]
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "4.02.3" & < "4.08.0"}
"ocamlfind" {build}
"dune"
"cppo" {build}
"ocaml" {>= "4.02.3"}
]
synopsis: "A protocol to provide custom frontend to Merlin"
description: """
This protocol allows to replace the OCaml frontend of Merlin.
It extends what used to be done with the `-pp' flag to handle a few more cases."""
flags: light-uninstall
doc: "https://let-def.github.io/merlin-extend"
url {
src: "https://github.com/let-def/merlin-extend/archive/v0.3.tar.gz"
checksum: "md5=9c6dfd4f53328f02f12fcc265f4e2dda"
src: "https://github.com/let-def/merlin-extend/archive/v0.4.tar.gz"
checksum: [
"md5=0663a58f2c45fad71615fbf0f6dd2e51"
"sha512=9c0f966f57756c06622fdb8ae1e0721bc098b8a9102fb87c22ad62cb52ece77e7447da2f200993f313273ea0b7c40cd889244407813167bd0d572293f02e0968"
]
}

74
esy.lock/opam/merlin.3.2.2/opam

@ -1,74 +0,0 @@ @@ -1,74 +0,0 @@
opam-version: "2.0"
name: "merlin"
synopsis: "Installation with Opam"
description: """
If you have a working [Opam](https://opam.ocaml.org/) installation, Merlin is only two commands away:
```shell
opam install merlin
opam user-setup install
```
[opam-user-setup](https://github.com/OCamlPro/opam-user-setup) takes care of configuring Emacs and Vim to make best use of your current install.
You can also [configure the editor](#editor-setup) yourself, if you prefer."""
maintainer: "defree@gmail.com"
authors: "The Merlin team"
homepage: "https://github.com/ocaml/merlin"
bug-reports: "https://github.com/ocaml/merlin/issues"
depends: [
"ocaml" {>= "4.02.1" & < "4.08"}
"dune" {build}
"ocamlfind" {>= "1.5.2"}
"yojson"
"craml" {with-test}
]
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
]
post-messages:
"""
merlin installed.
Quick setup for VIM
-------------------
Append this to your .vimrc to add merlin to vim's runtime-path:
let g:opamshare = substitute(system('opam config var share'),'\\n$','','''')
execute "set rtp+=" . g:opamshare . "/merlin/vim"
Also run the following line in vim to index the documentation:
:execute "helptags " . g:opamshare . "/merlin/vim/doc"
Quick setup for EMACS
-------------------
Add opam emacs directory to your load-path by appending this to your .emacs:
(let ((opam-share (ignore-errors (car (process-lines "opam" "config" "var" "share")))))
(when (and opam-share (file-directory-p opam-share))
;; Register Merlin
(add-to-list 'load-path (expand-file-name "emacs/site-lisp" opam-share))
(autoload 'merlin-mode "merlin" nil t nil)
;; Automatically start it in OCaml buffers
(add-hook 'tuareg-mode-hook 'merlin-mode t)
(add-hook 'caml-mode-hook 'merlin-mode t)
;; Use opam switch to lookup ocamlmerlin binary
(setq merlin-command 'opam)))
Take a look at https://github.com/ocaml/merlin for more information
Quick setup with opam-user-setup
--------------------------------
Opam-user-setup support Merlin.
$ opam user-setup install
should take care of basic setup.
See https://github.com/OCamlPro/opam-user-setup"""
{success & !user-setup:installed}
dev-repo: "git+https://github.com/ocaml/merlin.git"
url {
src:
"https://github.com/ocaml/merlin/releases/download/v3.2.2/merlin-v3.2.2.tbz"
checksum: "md5=ede35b65f8ac9c440cfade5445662c54"
}

69
esy.lock/opam/merlin.3.3.1/opam

@ -0,0 +1,69 @@ @@ -0,0 +1,69 @@
opam-version: "2.0"
maintainer: "defree@gmail.com"
authors: "The Merlin team"
homepage: "https://github.com/ocaml/merlin"
bug-reports: "https://github.com/ocaml/merlin/issues"
dev-repo: "git+https://github.com/ocaml/merlin.git"
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.02.1" & < "4.09"}
"dune" {>= "1.8.0"}
"ocamlfind" {>= "1.5.2"}
"yojson"
"mdx" {with-test & >= "1.3.0"}
]
synopsis:
"Editor helper, provides completion, typing and source browsing in Vim and Emacs"
description:
"Merlin is an assistant for editing OCaml code. It aims to provide the features available in modern IDEs: error reporting, auto completion, source browsing and much more."
post-messages: [
"merlin installed.
Quick setup for VIM
-------------------
Append this to your .vimrc to add merlin to vim's runtime-path:
let g:opamshare = substitute(system('opam config var share'),'\\n$','','''')
execute \"set rtp+=\" . g:opamshare . \"/merlin/vim\"
Also run the following line in vim to index the documentation:
:execute \"helptags \" . g:opamshare . \"/merlin/vim/doc\"
Quick setup for EMACS
-------------------
Add opam emacs directory to your load-path by appending this to your .emacs:
(let ((opam-share (ignore-errors (car (process-lines \"opam\" \"config\" \"var\" \"share\")))))
(when (and opam-share (file-directory-p opam-share))
;; Register Merlin
(add-to-list 'load-path (expand-file-name \"emacs/site-lisp\" opam-share))
(autoload 'merlin-mode \"merlin\" nil t nil)
;; Automatically start it in OCaml buffers
(add-hook 'tuareg-mode-hook 'merlin-mode t)
(add-hook 'caml-mode-hook 'merlin-mode t)
;; Use opam switch to lookup ocamlmerlin binary
(setq merlin-command 'opam)))
Take a look at https://github.com/ocaml/merlin for more information
Quick setup with opam-user-setup
--------------------------------
Opam-user-setup support Merlin.
$ opam user-setup install
should take care of basic setup.
See https://github.com/OCamlPro/opam-user-setup
"
{success & !user-setup:installed}
]
url {
src: "https://github.com/ocaml/merlin/archive/v3.3.1.tar.gz"
checksum: [
"md5=b542cacabeb98f9f22c6740f22a9fea7"
"sha512=8aa976197a55cdbe38180e80b1ae98b7408734a7a55b975a5be982016e7e723c64e9a82bcb1ff2827b27f9c5d210a2c34665d3e5c18afdaf4b0767b526b3d834"
]
}

2
esy.lock/opam/mmap.1.1.0/opam

@ -11,7 +11,7 @@ build: [ @@ -11,7 +11,7 @@ build: [
]
depends: [
"ocaml" {>= "4.02.3"}
"dune" {build & >= "1.6"}
"dune" {>= "1.6"}
]
synopsis: "File mapping functionality"
description: """

129
esy.lock/opam/num.1.1/files/findlib-install.patch

@ -1,129 +0,0 @@ @@ -1,129 +0,0 @@
From 7688bb4fea24463c92e9c4870acc08495a4c77cb Mon Sep 17 00:00:00 2001
From: David Allsopp <david.allsopp@metastack.com>
Date: Wed, 10 Jan 2018 15:20:46 +0000
Subject: [PATCH] Provide findlib-install target
Allows installing the entire library using ocamlfind.
---
Makefile | 10 +++++++++-
src/META | 17 -----------------
src/META.in | 19 +++++++++++++++++++
src/Makefile | 17 +++++++++++++++--
4 files changed, 43 insertions(+), 20 deletions(-)
delete mode 100644 src/META
create mode 100644 src/META.in
diff --git a/Makefile b/Makefile
index 6a5d08f..b40e588 100644
--- a/Makefile
+++ b/Makefile
@@ -14,8 +14,16 @@ install:
$(MAKE) -C src install
$(MAKE) -C toplevel install
+findlib-install:
+ $(MAKE) -C src findlib-install
+ $(MAKE) -C toplevel install
+
uninstall:
$(MAKE) -C src uninstall
$(MAKE) -C toplevel uninstall
-.PHONY: all test clean install uninstall
+findlib-uninstall:
+ $(MAKE) -C src findlib-uninstall
+ $(MAKE) -C toplevel uninstall
+
+.PHONY: all test clean install uninstall findlib-install findlib-uninstall
diff --git a/src/META b/src/META
deleted file mode 100644
index 66ac170..0000000
--- a/src/META
+++ /dev/null
@@ -1,17 +0,0 @@
-# This META is the one provided by findlib when the "num" library was
-# part of the core OCaml distribution. For backward compatibility,
-# it installs into OCaml's standard library directory, not in a subdirectory
-
-requires = "num.core"
-requires(toploop) = "num.core,num-top"
-version = "1.0"
-description = "Arbitrary-precision rational arithmetic"
-package "core" (
- directory = "^"
- version = "1.0"
- browse_interfaces = ""
- archive(byte) = "nums.cma"
- archive(native) = "nums.cmxa"
- plugin(byte) = "nums.cma"
- plugin(native) = "nums.cmxs"
-)
diff --git a/src/META.in b/src/META.in
new file mode 100644
index 0000000..b5678b7
--- /dev/null
+++ b/src/META.in
@@ -0,0 +1,19 @@
+# This META is the one provided by findlib when the "num" library was
+# part of the core OCaml distribution. For backward compatibility,
+# it is installed into OCaml's standard library directory. If the
+# directory line below is removed, then it's installed in a
+# subdirectory, as normal for a findlib package.
+
+requires = "num.core"
+requires(toploop) = "num.core,num-top"
+version = "1.0"
+description = "Arbitrary-precision rational arithmetic"
+package "core" (
+ directory = "^"
+ version = "1.0"
+ browse_interfaces = ""
+ archive(byte) = "nums.cma"
+ archive(native) = "nums.cmxa"
+ plugin(byte) = "nums.cma"
+ plugin(native) = "nums.cmxs"
+)
diff --git a/src/Makefile b/src/Makefile
index 97dc074..ff271fe 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -80,21 +80,34 @@ endif
ifeq "$(NATDYNLINK)" "true"
TOINSTALL+=nums.cmxs
endif
+ifeq "$(SUPPORTS_SHARED_LIBRARIES)" "true"
TOINSTALL_STUBS=dllnums.$(SO)
+else
+TOINSTALL_STUBS=
+endif
install:
+ cp META.in META
$(OCAMLFIND) install num META
+ rm -f META
$(INSTALL_DATA) $(TOINSTALL) $(STDLIBDIR)
ifeq "$(SUPPORTS_SHARED_LIBRARIES)" "true"
$(INSTALL_DLL) $(TOINSTALL_STUBS) $(STDLIBDIR)/stublibs
endif
-uninstall:
+findlib-install:
+ grep -Fv '^' META.in > META
+ $(OCAMLFIND) install num META $(TOINSTALL) $(TOINSTALL_STUBS)
+ rm -f META
+
+findlib-uninstall:
+ $(OCAMLFIND) remove num
+
+uninstall: findlib-uninstall
cd $(STDLIBDIR) && rm -f $(TOINSTALL)
ifeq "$(SUPPORTS_SHARED_LIBRARIES)" "true"
cd $(STDLIBDIR)/stublibs && rm -f $(TOINSTALL_STUBS)
endif
- $(OCAMLFIND) remove num
clean:
rm -f *.cm[ioxta] *.cmx[as] *.cmti *.$(O) *.$(A) *.$(SO)
--
2.14.1

0
esy.lock/opam/num.1.1/files/installation-warning.patch → esy.lock/opam/num.1.2/files/installation-warning.patch

15
esy.lock/opam/num.1.1/opam → esy.lock/opam/num.1.2/opam

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
opam-version: "2.0"
name: "num"
version: "1.1"
version: "1.2"
maintainer: "Xavier Leroy <xavier.leroy@inria.fr>"
authors: [
"Valérie Ménissier-Morain"
@ -20,24 +19,18 @@ install: [ @@ -20,24 +19,18 @@ install: [
"install" {!ocaml:preinstalled}
"findlib-install" {ocaml:preinstalled}
]
remove: [
make
"uninstall" {!ocaml:preinstalled}
"findlib-uninstall" {ocaml:preinstalled}
]
depends: [
"ocaml" {>= "4.06.0"}
"ocamlfind" {build & >= "1.7.3"}
]
conflicts: [ "base-num" ]
patches: [ "findlib-install.patch" "installation-warning.patch" ]
patches: [ "installation-warning.patch" ]
synopsis:
"The legacy Num library for arbitrary-precision integer and rational arithmetic"
extra-files: [
["installation-warning.patch" "md5=93c92bf6da6bae09d068da42b1bbaaac"]
["findlib-install.patch" "md5=3163a4c3f8dd084653eeb64d95311a2a"]
]
url {
src: "https://github.com/ocaml/num/archive/v1.1.tar.gz"
checksum: "md5=710cbe18b144955687a03ebab439ff2b"
src: "https://github.com/ocaml/num/archive/v1.2.tar.gz"
checksum: "md5=4f43ce8e44db68692bee50f2f8ef911c"
}

8
esy.lock/opam/ocaml-compiler-libs.v0.11.0/opam → esy.lock/opam/ocaml-compiler-libs.v0.12.0/opam

@ -6,11 +6,11 @@ bug-reports: "https://github.com/janestreet/ocaml-compiler-libs/issues" @@ -6,11 +6,11 @@ bug-reports: "https://github.com/janestreet/ocaml-compiler-libs/issues"
dev-repo: "git+https://github.com/janestreet/ocaml-compiler-libs.git"
license: "Apache-2.0"
build: [
["jbuilder" "build" "-p" name "-j" jobs]
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"ocaml" {>= "4.04.1"}
"jbuilder" {build & >= "1.0+beta12"}
"dune" {>= "1.0"}
]
synopsis: "OCaml compiler libraries repackaged"
description: """
@ -18,6 +18,6 @@ This packages exposes the OCaml compiler libraries repackages under @@ -18,6 +18,6 @@ This packages exposes the OCaml compiler libraries repackages under
the toplevel names Ocaml_common, Ocaml_bytecomp, ..."""
url {
src:
"https://ocaml.janestreet.com/ocaml-core/v0.11/files/ocaml-compiler-libs-v0.11.0.tar.gz"
checksum: "md5=e170c16186aa55b7e8b11e461418a10a"
"https://github.com/janestreet/ocaml-compiler-libs/archive/v0.12.0.tar.gz"
checksum: "md5=3351925ed99be59829641d2044fc80c0"
}

8
esy.lock/opam/ocaml-migrate-parsetree.1.3.1/opam → esy.lock/opam/ocaml-migrate-parsetree.1.4.0/opam

@ -16,7 +16,7 @@ build: [ @@ -16,7 +16,7 @@ build: [
depends: [
"result"
"ppx_derivers"
"dune" {build & >= "1.6.0"}
"dune" {>= "1.9.0"}
"ocaml" {>= "4.02.3"}
]
synopsis: "Convert OCaml parsetrees between different versions"
@ -29,9 +29,9 @@ rewriters independent of a compiler version. @@ -29,9 +29,9 @@ rewriters independent of a compiler version.
"""
url {
src:
"https://github.com/ocaml-ppx/ocaml-migrate-parsetree/releases/download/v1.3.1/ocaml-migrate-parsetree-v1.3.1.tbz"
"https://github.com/ocaml-ppx/ocaml-migrate-parsetree/releases/download/v1.4.0/ocaml-migrate-parsetree-v1.4.0.tbz"
checksum: [
"sha256=83e4955a6fd6b494646ab92c476840ea96b5fb434435c287e7ad3e6efadc8338"
"sha512=7da86f9596dd1439990a6f087fdeba64a0f3ce2634473be4cca92ecc02b6fcd97917956890fbe35b3cba5a126d007afec6ede1e4afd0a5218c89fd6079ad4182"
"sha256=231fbdc205187b3ee266b535d9cfe44b599067b2f6e97883c782ea7bb577d3b8"
"sha512=61ee91d2d146cc2d2ff2d5dc4ef5dea4dc4d3c8dbd8b4c9586d64b6ad7302327ab35547aa0a5b0103c3f07b66b13d416a1bee6d4d117293cd3cabe44113ec6d4"
]
}

2
esy.lock/opam/parsexp.v0.12.0/opam

@ -13,7 +13,7 @@ depends: [ @@ -13,7 +13,7 @@ depends: [
"ocaml" {>= "4.04.2"}
"base" {>= "v0.12" & < "v0.13"}
"sexplib0" {>= "v0.12" & < "v0.13"}
"dune" {build & >= "1.5.1"}
"dune" {>= "1.5.1"}
]
synopsis: "S-expression parsing library"
description: "

2
esy.lock/opam/ppx_derivers.1.2.1/opam

@ -10,7 +10,7 @@ build: [ @@ -10,7 +10,7 @@ build: [
]
depends: [
"ocaml"
"dune" {build}
"dune"
]
synopsis: "Shared [@@deriving] plugin registry"
description: """

48
esy.lock/opam/ppx_deriving.4.2.1/opam

@ -1,48 +0,0 @@ @@ -1,48 +0,0 @@
opam-version: "2.0"
maintainer: "whitequark <whitequark@whitequark.org>"
authors: [ "whitequark <whitequark@whitequark.org>" ]
license: "MIT"
homepage: "https://github.com/whitequark/ppx_deriving"
doc: "https://whitequark.github.io/ppx_deriving"
bug-reports: "https://github.com/whitequark/ppx_deriving/issues"
dev-repo: "git+https://github.com/whitequark/ppx_deriving.git"
tags: [ "syntax" ]
substs: [ "pkg/META" ]
build: [
[
"ocaml"
"pkg/build.ml"
"native=%{ocaml:native-dynlink}%"
"native-dynlink=%{ocaml:native-dynlink}%"
]
[
"ocamlbuild"
"-classic-display"
"-use-ocamlfind"
"src_test/test_ppx_deriving.byte"
"--"
] {with-test}
[make "doc"] {with-doc}
]
depends: [
"ocaml" {> "4.03.0"}
"ocamlbuild" {build}
"ocamlfind" {build & >= "1.6.0"}
"cppo" {build}
"cppo_ocamlbuild" {build}
"ocaml-migrate-parsetree"
"ppx_derivers"
"ppx_tools" {>= "4.02.3"}
"result"
"ounit" {with-test}
]
available: opam-version >= "1.2"
synopsis: "Type-driven code generation for OCaml >=4.02"
description: """
ppx_deriving provides common infrastructure for generating
code based on type definitions, and a set of useful plugins
for common tasks."""
url {
src: "https://github.com/ocaml-ppx/ppx_deriving/archive/v4.2.1.tar.gz"
checksum: "md5=2195fccf2a527c3ff9ec5b4e36e2f0a8"
}

35
esy.lock/opam/ppx_deriving.4.4/opam

@ -0,0 +1,35 @@ @@ -0,0 +1,35 @@
opam-version: "2.0"
maintainer: "whitequark <whitequark@whitequark.org>"
authors: [ "whitequark <whitequark@whitequark.org>" ]
license: "MIT"
homepage: "https://github.com/ocaml-ppx/ppx_deriving"
doc: "https://ocaml-ppx.github.io/ppx_deriving/"
bug-reports: "https://github.com/ocaml-ppx/ppx_deriving/issues"
dev-repo: "git+https://github.com/ocaml-ppx/ppx_deriving.git"
tags: [ "syntax" ]
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test & ocaml:version >= "4.03"}
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
]
depends: [
"dune" {>= "1.6.3"}
"cppo" {build}
"ppxfind" {build}
"ocaml-migrate-parsetree"
"ppx_derivers"
"ppx_tools" {>= "4.02.3"}
"result"
"ounit" {with-test}
"ocaml" {>= "4.02" & < "4.09.0"}
]
synopsis: "Type-driven code generation for OCaml >=4.02.2"
description: """
ppx_deriving provides common infrastructure for generating
code based on type definitions, and a set of useful plugins
for common tasks.
"""
url {
src: "https://github.com/ocaml-ppx/ppx_deriving/archive/v4.4.tar.gz"
checksum: "sha256=c2d85af4cb65a1f163f624590fb0395a164bbfd0d05082092526b669e66bcc34"}

4
esy.lock/opam/ppx_fields_conv.v0.12.0/opam

@ -13,8 +13,8 @@ depends: [ @@ -13,8 +13,8 @@ depends: [
"ocaml" {>= "4.04.2"}
"base" {>= "v0.12" & < "v0.13"}
"fieldslib" {>= "v0.12" & < "v0.13"}
"dune" {build & >= "1.5.1"}
"ppxlib" {>= "0.5.0"}
"dune" {>= "1.5.1"}
"ppxlib" {>= "0.5.0" & < "0.9.0"}
]
synopsis: "Generation of accessor and iteration functions for ocaml records"
description: "

4
esy.lock/opam/ppx_let.v0.12.0/opam

@ -12,8 +12,8 @@ build: [ @@ -12,8 +12,8 @@ build: [
depends: [
"ocaml" {>= "4.04.2"}
"base" {>= "v0.12" & < "v0.13"}
"dune" {build & >= "1.5.1"}
"ppxlib" {>= "0.5.0"}
"dune" {>= "1.5.1"}
"ppxlib" {>= "0.5.0" & < "0.9.0"}
]
synopsis: "Monadic let-bindings"
description: "

4
esy.lock/opam/ppx_sexp_conv.v0.12.0/opam

@ -13,8 +13,8 @@ depends: [ @@ -13,8 +13,8 @@ depends: [
"ocaml" {>= "4.04.2"}
"base" {>= "v0.12" & < "v0.13"}
"sexplib0" {>= "v0.12" & < "v0.13"}
"dune" {build & >= "1.5.1"}
"ppxlib" {>= "0.5.0"}
"dune" {>= "1.5.1"}
"ppxlib" {>= "0.5.0" & < "0.9.0"}
]
synopsis: "[@@deriving] plugin to generate S-expression conversion functions"
description: "

10
esy.lock/opam/ppx_tools_versioned.5.2.2/opam → esy.lock/opam/ppx_tools_versioned.5.2.3/opam

@ -16,15 +16,15 @@ build: [ @@ -16,15 +16,15 @@ build: [
]
depends: [
"ocaml" {>= "4.02.0"}
"dune" {build & >= "1.0"}
"ocaml-migrate-parsetree" {>= "1.0.10"}
"dune" {>= "1.0"}
"ocaml-migrate-parsetree" {>= "1.4.0"}
]
synopsis: "A variant of ppx_tools based on ocaml-migrate-parsetree"
url {
src:
"https://github.com/ocaml-ppx/ppx_tools_versioned/archive/5.2.2.tar.gz"
"https://github.com/ocaml-ppx/ppx_tools_versioned/archive/5.2.3.tar.gz"
checksum: [
"md5=f78a3c2b4cc3b92702e1f7096a6125fa"
"sha512=68c168ebc01af46fe8766ad7e36cc778caabb97d8eb303db284d106450cb79974c2a640ce459e197630b9e84b02caa24b59c97c9a8d39ddadc7efc7284e42a70"
"md5=b1455e5a4a1bcd9ddbfcf712ccbd4262"
"sha512=af20aa0031b9c638537bcdb52c75de95f316ae8fd455a38672a60da5c7c6895cca9dbecd5d56a88c3c40979c6a673a047d986b5b41e1e84b528b7df5d905b9b1"
]
}

31
esy.lock/opam/ppxfind.1.3/opam

@ -0,0 +1,31 @@ @@ -0,0 +1,31 @@
opam-version: "2.0"
maintainer: "jeremie@dimino.org"
authors: ["Jérémie Dimino"]
license: "BSD3"
homepage: "https://github.com/diml/ppxfind"
bug-reports: "https://github.com/diml/ppxfind/issues"
dev-repo: "git+https://github.com/diml/ppxfind.git"
doc: "https://diml.github.io/ppxfind/"
build: [
["dune" "build" "-p" name "-j" jobs]
]
depends: [
"dune" {>= "1.0"}
"ocaml-migrate-parsetree"
"ocamlfind"
"ocaml" {>= "4.02.3"}
]
conflicts: [ "dune" {= "1.2.0" | = "1.2.1"} ]
synopsis: "Tool combining ocamlfind and ppx"
description: """
Ppxfind is a small command line tool that among other things allows
to use old style ppx rewriters with jbuilder.
"""
url {
src:
"https://github.com/diml/ppxfind/releases/download/1.3/ppxfind-1.3.tbz"
checksum: [
"sha256=d49db026d0e74212c4b475b4e628aa57508c7452a0682d8c96e80c130ab892e4"
"sha512=dd81bf5b3413f99a3c39f25e5e747f8d57d3bacac6a1fda92478af317e2d543294b4937982c94cf010978fcd71b1cfbfce1edbaa0c3d03973079296fda89689f"
]
}

8
esy.lock/opam/ppxlib.0.6.0/opam → esy.lock/opam/ppxlib.0.8.0/opam

@ -16,9 +16,9 @@ run-test: [ @@ -16,9 +16,9 @@ run-test: [
depends: [
"ocaml" {>= "4.04.1"}
"base" {>= "v0.11.0" & < "v0.13"}
"dune" {build}
"dune"
"ocaml-compiler-libs" {>= "v0.11.0"}
"ocaml-migrate-parsetree" {>= "1.0.9"}
"ocaml-migrate-parsetree" {>= "1.3.1"}
"ppx_derivers" {>= "1.0"}
"stdio" {>= "v0.11.0" & < "v0.13"}
"ocamlfind" {with-test}
@ -37,6 +37,6 @@ A comprehensive toolbox for ppx development. It features: @@ -37,6 +37,6 @@ A comprehensive toolbox for ppx development. It features:
"""
url {
src:
"https://github.com/ocaml-ppx/ppxlib/releases/download/0.6.0/ppxlib-0.6.0.tbz"
checksum: "md5=e2d129139891c135acc6d52a3fa9f731"
"https://github.com/ocaml-ppx/ppxlib/archive/0.8.0.tar.gz"
checksum: "md5=9b1cfe1ae58d7ad851ed5618c1bf64a0"
}

49
esy.lock/opam/ptime.0.8.5/opam

@ -0,0 +1,49 @@ @@ -0,0 +1,49 @@
opam-version: "2.0"
maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>"
authors: ["The ptime programmers"]
homepage: "https://erratique.ch/software/ptime"
doc: "https://erratique.ch/software/ptime/doc"
dev-repo: "git+http://erratique.ch/repos/ptime.git"
bug-reports: "https://github.com/dbuenzli/ptime/issues"
tags: [ "time" "posix" "system" "org:erratique" ]
license: "ISC"
depends: [
"ocaml" {>= "4.01.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build}
"result"
]
depopts: [ "js_of_ocaml" ]
conflicts: [ "js_of_ocaml" { < "3.3.0" } ]
build:[[
"ocaml" "pkg/pkg.ml" "build"
"--pinned" "%{pinned}%"
"--with-js_of_ocaml" "%{js_of_ocaml:installed}%" ]]
synopsis: """POSIX time for OCaml"""
description: """\
Ptime has platform independent POSIX time support in pure OCaml. It
provides a type to represent a well-defined range of POSIX timestamps
with picosecond precision, conversion with date-time values,
conversion with [RFC 3339 timestamps][rfc3339] and pretty printing to a
human-readable, locale-independent representation.
The additional Ptime_clock library provides access to a system POSIX
clock and to the system's current time zone offset.
Ptime is not a calendar library.
Ptime depends on the `result` compatibility package. Ptime_clock
depends on your system library. Ptime_clock's optional JavaScript
support depends on [js_of_ocaml][jsoo]. Ptime and its libraries are
distributed under the ISC license.
[rfc3339]: http://tools.ietf.org/html/rfc3339
[jsoo]: http://ocsigen.org/js_of_ocaml/
"""
url {
archive: "https://erratique.ch/software/ptime/releases/ptime-0.8.5.tbz"
checksum: "4d48055d623ecf2db792439b3e96a520"
}

2
esy.lock/opam/re.1.9.0/opam

@ -21,7 +21,7 @@ build: [ @@ -21,7 +21,7 @@ build: [
depends: [
"ocaml" {>= "4.02"}
"dune" {build}
"dune"
"ounit" {with-test}
"seq"
]

8
esy.lock/opam/result.1.3/opam → esy.lock/opam/result.1.4/opam

@ -5,10 +5,10 @@ homepage: "https://github.com/janestreet/result" @@ -5,10 +5,10 @@ homepage: "https://github.com/janestreet/result"
dev-repo: "git+https://github.com/janestreet/result.git"
bug-reports: "https://github.com/janestreet/result/issues"
license: "BSD3"
build: [["jbuilder" "build" "-p" name "-j" jobs]]
build: [["dune" "build" "-p" name "-j" jobs]]
depends: [
"ocaml"
"jbuilder" {build & >= "1.0+beta11"}
"dune" {>= "1.0"}
]
synopsis: "Compatibility Result module"
description: """
@ -17,6 +17,6 @@ while staying compatible with older version of OCaml should use the @@ -17,6 +17,6 @@ while staying compatible with older version of OCaml should use the
Result module defined in this library."""
url {
src:
"https://github.com/janestreet/result/releases/download/1.3/result-1.3.tbz"
checksum: "md5=4beebefd41f7f899b6eeba7414e7ae01"
"https://github.com/janestreet/result/archive/1.4.tar.gz"
checksum: "md5=d3162dbc501a2af65c8c71e0866541da"
}

2
esy.lock/opam/sexplib.v0.12.0/opam

@ -13,7 +13,7 @@ depends: [ @@ -13,7 +13,7 @@ depends: [
"ocaml" {>= "4.04.2"}
"parsexp" {>= "v0.12" & < "v0.13"}
"sexplib0" {>= "v0.12" & < "v0.13"}
"dune" {build & >= "1.5.1"}
"dune" {>= "1.5.1"}
"num"
]
synopsis: "Library for serializing OCaml values to and from S-expressions"

2
esy.lock/opam/sexplib0.v0.12.0/opam

@ -11,7 +11,7 @@ build: [ @@ -11,7 +11,7 @@ build: [
]
depends: [
"ocaml" {>= "4.04.2"}
"dune" {build & >= "1.5.1"}
"dune" {>= "1.5.1"}
]
synopsis: "Library containing the definition of S-expressions and some base converters"
description: "

2
esy.lock/opam/ssl.0.5.7/opam

@ -9,7 +9,7 @@ build: [ @@ -9,7 +9,7 @@ build: [
]
depends: [
"ocaml" {>= "4.02.0"}
"dune" {build & >= "1.2.1"}
"dune" {>= "1.2.1"}
"base-unix"
"conf-openssl"
]

2
esy.lock/opam/stdio.v0.12.0/opam

@ -12,7 +12,7 @@ build: [ @@ -12,7 +12,7 @@ build: [
depends: [
"ocaml" {>= "4.04.2"}
"base" {>= "v0.12" & < "v0.13"}
"dune" {build & >= "1.5.1"}
"dune" {>= "1.5.1"}
]
synopsis: "Standard IO library for OCaml"
description: "

2
esy.lock/opam/stdlib-shims.0.1.0/opam

@ -8,7 +8,7 @@ bug-reports: "https://github.com/ocaml/stdlib-shims/issues" @@ -8,7 +8,7 @@ bug-reports: "https://github.com/ocaml/stdlib-shims/issues"
tags: ["stdlib" "compatibility" "org:ocaml"]
license: ["typeof OCaml system"]
depends: [
"dune" {build}
"dune"
"ocaml" {>= "4.02.3"}
]
build: [ "dune" "build" "-p" name "-j" jobs ]

27
esy.lock/opam/stringext.1.5.0/opam

@ -1,27 +0,0 @@ @@ -1,27 +0,0 @@
opam-version: "2.0"
maintainer: "rudi.grinberg@gmail.com"
authors: "Rudi Grinberg"
homepage: "https://github.com/rgrinberg/stringext"
bug-reports: "https://github.com/rgrinberg/stringext/issues"
license: "MIT"
dev-repo: "git+https://github.com/rgrinberg/stringext.git"
build: [
["jbuilder" "subst" "-p" name] {pinned}
["jbuilder" "build" "-p" name "-j" jobs]
["jbuilder" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.02.3"}
"jbuilder" {build & >= "1.0+beta10"}
"ounit" {with-test}
"qtest" {with-test & >= "2.2"}
"base-bytes"
]
synopsis: "Extra string functions for OCaml"
description: """
Extra string functions for OCaml. Mainly splitting. All functions are in the
`Stringext` module."""
url {
src: "https://github.com/rgrinberg/stringext/archive/1.5.0.zip"
checksum: "md5=867263ea97532f150516677fa994cdf2"
}

32
esy.lock/opam/stringext.1.6.0/opam

@ -0,0 +1,32 @@ @@ -0,0 +1,32 @@
opam-version: "2.0"
maintainer: "rudi.grinberg@gmail.com"
authors: "Rudi Grinberg"
license: "MIT"
homepage: "https://github.com/rgrinberg/stringext"
bug-reports: "https://github.com/rgrinberg/stringext/issues"
depends: [
"ocaml" {>= "4.02.3"}
"dune" {>= "1.0"}
"ounit" {with-test}
"qtest" {with-test & >= "2.2"}
"base-bytes"
]
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
dev-repo: "git+https://github.com/rgrinberg/stringext.git"
synopsis: "Extra string functions for OCaml"
description: """
Extra string functions for OCaml. Mainly splitting. All functions are in the
Stringext module.
"""
url {
src:
"https://github.com/rgrinberg/stringext/releases/download/1.6.0/stringext-1.6.0.tbz"
checksum: [
"sha256=db41f5d52e9eab17615f110b899dfeb27dd7e7f89cd35ae43827c5119db206ea"
"sha512=d8ebe40f42b598a9bd99f1ef4b00ba93458385a4accd121af66a0bf3b3f8d7135f576740adf1a43081dd409977c2219fd4bdbb5b3d1308890d301d553ed49900"
]
}

45
esy.lock/opam/tyxml.4.3.0/opam

@ -0,0 +1,45 @@ @@ -0,0 +1,45 @@
opam-version: "2.0"
maintainer: "dev@ocsigen.org"
homepage: "https://github.com/ocsigen/tyxml/"
bug-reports: "https://github.com/ocsigen/tyxml/issues"
doc: "https://ocsigen.org/tyxml/manual/"
dev-repo: "git+https://github.com/ocsigen/tyxml.git"
license: "LGPL-2.1 with OCaml linking exception"
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.02"}
"re" {>= "1.5.0"}
("ocaml" {>= "4.07"} | "re" {>= "1.8.0"})
"dune"
"alcotest" {with-test}
"seq"
"uutf" {>= "1.0.0"}
]
synopsis:"TyXML is a library for building correct HTML and SVG documents"
description:"""
TyXML provides a set of convenient combinators that uses the OCaml
type system to ensure the validity of the generated documents. TyXML
can be used with any representation of HTML and SVG: the textual one,
provided directly by this package, or DOM trees (`js_of_ocaml-tyxml`)
virtual DOM (`virtual-dom`) and reactive or replicated trees
(`eliom`). You can also create your own representation and use it to
instantiate a new set of combinators.
```ocaml
open Tyxml
let to_ocaml = Html.(a ~a:[a_href "ocaml.org"] [txt "OCaml!"])
```
"""
authors: "The ocsigen team"
url {
src:
"https://github.com/ocsigen/tyxml/releases/download/4.3.0/tyxml-4.3.0.tbz"
checksum: "md5=fd834a567f813bf447cab5f4c3a723e2"
}

33
esy.lock/opam/uri-sexp.3.0.0/opam

@ -0,0 +1,33 @@ @@ -0,0 +1,33 @@
opam-version: "2.0"
maintainer: "anil@recoil.org"
authors: ["Anil Madhavapeddy" "David Sheets" "Rudi Grinberg"]
license: "ISC"
tags: ["url" "uri" "org:mirage" "org:xapi-project"]
homepage: "https://github.com/mirage/ocaml-uri"
bug-reports: "https://github.com/mirage/ocaml-uri/issues"
dev-repo: "git+https://github.com/mirage/ocaml-uri.git"
doc: "https://mirage.github.io/ocaml-uri/"
synopsis: "An RFC3986 URI/URL parsing library"
description: """
ocaml-uri with sexp support
"""
depends: [
"uri" {= version}
"dune" {>= "1.2.0"}
"ppx_sexp_conv" {>= "v0.9.0"}
"sexplib0"
"ounit" {with-test}
]
build: [
["dune" "subst"] {pinned}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
url {
src:
"https://github.com/mirage/ocaml-uri/releases/download/v3.0.0/uri-v3.0.0.tbz"
checksum: [
"sha256=8fb334fba6ebbf879e2e82d80d6adee8bdaf6cec3bb3da248110d805477d19fa"
"sha512=553c18032a7c96cccdc8e37f497ce34e821b9dd089cfc8685783b7ade1d4dfa422722e4724abcba8b1171b51fa91a2bee297396fc7c349118069b6352e07881e"
]
}

14
esy.lock/opam/uri.2.2.0/opam → esy.lock/opam/uri.3.0.0/opam

@ -14,11 +14,10 @@ for parsing URI or URLs. @@ -14,11 +14,10 @@ for parsing URI or URLs.
"""
depends: [
"ocaml" {>= "4.04.0"}
"dune" {build & >= "1.2.0"}
"dune" {>= "1.2.0"}
"ounit" {with-test & >= "1.0.2"}
"ppx_sexp_conv" {build & >= "v0.9.0" & < "v0.13"}
"re" {>= "1.7.2"}
"sexplib0" {< "v0.13"}
"ppx_sexp_conv" {with-test & >= "v0.9.0"}
"re" {>= "1.9.0"}
"stringext" {>= "1.4.0"}
]
build: [
@ -28,6 +27,9 @@ build: [ @@ -28,6 +27,9 @@ build: [
]
url {
src:
"https://github.com/mirage/ocaml-uri/releases/download/v2.2.0/uri-v2.2.0.tbz"
checksum: "md5=e52e17fc6cc3491ab44994e6ebc5664c"
"https://github.com/mirage/ocaml-uri/releases/download/v3.0.0/uri-v3.0.0.tbz"
checksum: [
"sha256=8fb334fba6ebbf879e2e82d80d6adee8bdaf6cec3bb3da248110d805477d19fa"
"sha512=553c18032a7c96cccdc8e37f497ce34e821b9dd089cfc8685783b7ade1d4dfa422722e4724abcba8b1171b51fa91a2bee297396fc7c349118069b6352e07881e"
]
}

2
esy.lock/opam/yojson.1.7.0/opam

@ -12,7 +12,7 @@ build: [ @@ -12,7 +12,7 @@ build: [
run-test: [["dune" "runtest" "-p" name "-j" jobs]]
depends: [
"ocaml" {>= "4.02.3"}
"dune" {build}
"dune"
"cppo" {build}
"easy-format"
"biniou" {>= "1.2.0"}

6
esy.lock/overrides/opam__s__conf_pkg_config_opam__c__1.1_opam_override/package.json

@ -1,4 +1,10 @@ @@ -1,4 +1,10 @@
{
"build": [
[
"pkg-config",
"--help"
]
],
"dependencies": {
"yarn-pkg-config": "esy-ocaml/yarn-pkg-config#cca65f99674ed2d954d28788edeb8c57fada5ed0"
}

0
esy.lock/overrides/opam__s__dune_opam__c__1.9.3_opam_override/package.json → esy.lock/overrides/opam__s__dune_opam__c__1.10.0_opam_override/package.json

34
esy.lock/overrides/opam__s__merlin_extend_opam__c__0.3_opam_override/files/merlin-extend-winfix-4.2.3007.patch

@ -1,34 +0,0 @@ @@ -1,34 +0,0 @@
--- ./extend_helper.ml
+++ ./extend_helper.ml
@@ -1,13 +1,6 @@
-(*pp cppo -V OCAML:`ocamlc -version` *)
open Parsetree
open Extend_protocol
-#if OCAML_VERSION < (4, 3, 0)
-# define CONST_STRING Asttypes.Const_string
-#else
-# define CONST_STRING Parsetree.Pconst_string
-#endif
-
(** Default implementation for [Reader_def.print_outcome] using
[Oprint] from compiler-libs *)
let print_outcome_using_oprint ppf = function
@@ -28,7 +21,7 @@
pstr_loc = Location.none;
pstr_desc = Pstr_eval ({
pexp_loc = Location.none;
- pexp_desc = Pexp_constant (CONST_STRING (msg, None));
+ pexp_desc = Pexp_constant (Asttypes.Const_string (msg, None));
pexp_attributes = [];
}, []);
}]
@@ -112,7 +105,7 @@
let msg = match payload with
| PStr [{
pstr_desc = Pstr_eval ({
- pexp_desc = Pexp_constant (CONST_STRING (msg, _));
+ pexp_desc = Pexp_constant (Asttypes.Const_string (msg, _));
}, _);
}] -> msg
| _ -> "Warning: extension produced an incorrect syntax-error node"

34
esy.lock/overrides/opam__s__merlin_extend_opam__c__0.3_opam_override/files/merlin-extend-winfix.patch

@ -1,34 +0,0 @@ @@ -1,34 +0,0 @@
--- ./extend_helper.ml
+++ ./extend_helper.ml
@@ -1,13 +1,6 @@
-(*pp cppo -V OCAML:`ocamlc -version` *)
open Parsetree
open Extend_protocol
-#if OCAML_VERSION < (4, 3, 0)
-# define CONST_STRING Asttypes.Const_string
-#else
-# define CONST_STRING Parsetree.Pconst_string
-#endif
-
(** Default implementation for [Reader_def.print_outcome] using
[Oprint] from compiler-libs *)
let print_outcome_using_oprint ppf = function
@@ -28,7 +21,7 @@
pstr_loc = Location.none;
pstr_desc = Pstr_eval ({
pexp_loc = Location.none;
- pexp_desc = Pexp_constant (CONST_STRING (msg, None));
+ pexp_desc = Pexp_constant (Parsetree.Pconst_string (msg, None));
pexp_attributes = [];
}, []);
}]
@@ -112,7 +105,7 @@
let msg = match payload with
| PStr [{
pstr_desc = Pstr_eval ({
- pexp_desc = Pexp_constant (CONST_STRING (msg, _));
+ pexp_desc = Pexp_constant (Parsetree.Pconst_string (msg, _));
}, _);
}] -> msg
| _ -> "Warning: extension produced an incorrect syntax-error node"

15
esy.lock/overrides/opam__s__merlin_extend_opam__c__0.3_opam_override/package.json

@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
{
"buildEnv": {
"PATCH_CMD": "#{ocaml.version == '4.2.3007' ? 'patch -p1 < merlin-extend-winfix-4.2.3007.patch' : 'patch -p1 < merlin-extend-winfix.patch'}"
},
"build": [
[
"bash",
"-c",
"#{os == 'windows' ? $PATCH_CMD : 'true'}"
],
[
"make"
]
]
}

20
esy.lock/overrides/opam__s__num_opam__c__1.1_opam_override/files/num-1.1.patch

@ -1,20 +0,0 @@ @@ -1,20 +0,0 @@
--- ./src/Makefile
+++ ./src/Makefile
@@ -80,7 +80,7 @@
ifeq "$(NATDYNLINK)" "true"
TOINSTALL+=nums.cmxs
endif
ifeq "$(SUPPORTS_SHARED_LIBRARIES)" "true"
-TOINSTALL_STUBS=dllnums.$(SO)
+TOINSTALL_STUBS=dllnums$(EXT_DLL)
else
TOINSTALL_STUBS=
@@ -112,7 +112,7 @@
endif
clean:
- rm -f *.cm[ioxta] *.cmx[as] *.cmti *.$(O) *.$(A) *.$(SO)
+ rm -f *.cm[ioxta] *.cmx[as] *.cmti *.$(O) *.$(A) *$(EXE_DLL)
depend:
$(OCAMLDEP) -slash *.mli *.ml > .depend

5
esy.lock/overrides/opam__s__num_opam__c__1.1_opam_override/package.json → esy.lock/overrides/opam__s__num_opam__c__1.2_opam_override/package.json

@ -1,10 +1,5 @@ @@ -1,10 +1,5 @@
{
"build": [
[
"bash",
"-c",
"#{os == 'windows' ? 'patch -p1 < num-1.1.patch' : 'true'}"
],
[
"make"
]

78
esy.lock/overrides/opam__s__ppx__deriving_opam__c__4.2.1_opam_override/files/ppx_deriving-4.2.1.patch

@ -1,78 +0,0 @@ @@ -1,78 +0,0 @@
--- ./pkg/topkg.ml
+++ ./pkg/topkg.ml
@@ -152,7 +152,63 @@
module Exts : Exts = struct
let interface = [".mli"; ".cmi"; ".cmti"]
let interface_opt = ".cmx" :: interface
- let c_library = if Sys.win32 then [".lib"] else [".a"]
+ let c_library =
+ match Sys.win32 with
+ | false -> [".a"]
+ | true ->
+ let input_line ch =
+ try
+ let s = input_line ch in
+ let len = String.length s in
+ if len > 0 && Sys.os_type = "Win32" && s.[len-1] = '\r' then
+ Some (String.sub s 0 (pred len))
+ else
+ Some s
+ with
+ | End_of_file -> None
+ in
+ let rec get_ext_lib ch =
+ match input_line ch with
+ | None -> ".a"
+ | Some s ->
+ let len = String.length s in
+ if len < 11 || s.[0] <> 'e' || String.sub s 0 9 <> "ext_lib: " then
+ get_ext_lib ch
+ else
+ String.sub s 9 (len - 9)
+ in
+ let get_ext_lib fln =
+ let ch = open_in fln in
+ let ch_closed = ref false in
+ try
+ let res = get_ext_lib ch in
+ ch_closed := true;
+ close_in ch ;
+ res
+ with
+ | x when !ch_closed = false ->
+ close_in_noerr ch;
+ raise x
+ in
+ let e_null = if Sys.win32 then " 2>NUL" else " 2>/dev/null" in
+ let fln = Filename.temp_file "get_ext" ".txt" in
+ let cleanup = lazy (try Sys.remove fln with Sys_error _ -> ()) in
+ try
+ let qfln = Filename.quote fln in
+ let cmd = "ocamlfind ocamlc -config > " ^ qfln ^ e_null in
+ let ec = Sys.command cmd in
+ if ec <> 0 then (
+ let cmd = "ocamlc -config > " ^ qfln ^ e_null in
+ let ec = Sys.command cmd in
+ if ec <> 0 then
+ failwith (Printf.sprintf "couldn't call ocamlc -config");
+ );
+ let res = get_ext_lib fln in
+ Lazy.force cleanup;
+ [res]
+ with
+ | x -> Lazy.force cleanup; raise x
+
let c_dll_library = if Sys.win32 then [".dll"] else [".so"]
let library = [".cma"; ".cmxa"; ".cmxs"] @ c_library
let module_library = (interface_opt @ library)
@@ -258,7 +314,9 @@
let src, dst =
if not auto then src, dst else
let dst = match dst with
- | None -> Some (Filename.basename src)
+ | None ->
+ let src = if Sys.os_type <> "Win32" then src else src ^ ".exe" in
+ Some (Filename.basename src)
| Some _ as dst -> dst
in
let src = if Env.native then src ^ ".native" else src ^ ".byte" in

15
esy.lock/overrides/opam__s__ppx__deriving_opam__c__4.2.1_opam_override/package.json

@ -1,15 +0,0 @@ @@ -1,15 +0,0 @@
{
"build": [
[
"bash",
"-c",
"#{os == 'windows' ? 'patch -p1 < ppx_deriving-4.2.1.patch' : 'true'}"
],
[
"ocaml",
"pkg/build.ml",
"native=true",
"native-dynlink=true"
]
]
}

99
executable/Install.re

@ -17,40 +17,11 @@ let mkDownloadsDir = () => { @@ -17,40 +17,11 @@ let mkDownloadsDir = () => {
};
};
let main = (~version as versionName) => {
let%lwt os = System.NodeOS.get()
and arch = System.NodeArch.get()
and versionName =
switch (versionName) {
| Some(versionName) => Lwt.return(versionName)
| None => Dotfiles.getVersion()
};
let versionName = Versions.format(versionName);
let%lwt _ = Versions.throwIfInstalled(versionName);
Logger.debug(
<Pastel>
"Looking for node "
<Pastel color=Pastel.Cyan> versionName </Pastel>
" for "
<Pastel color=Pastel.Cyan>
{System.NodeOS.toString(os)}
" "
{System.NodeArch.toString(arch)}
</Pastel>
</Pastel>,
);
let%lwt (versionName, filepath) =
Versions.getFileToDownload(~version=versionName, ~os, ~arch);
let%lwt _ = Versions.throwIfInstalled(versionName);
let download = (~version, ~filepath) => {
let tarDestination =
Filename.concat(
Directories.downloads,
versionName ++ Versions.Remote.downloadFileSuffix,
version ++ Versions.Remote.downloadFileSuffix,
);
Logger.debug(
@ -65,7 +36,7 @@ let main = (~version as versionName) => { @@ -65,7 +36,7 @@ let main = (~version as versionName) => {
let%lwt _ = System.mkdirp(Filename.dirname(tarDestination));
let%lwt _ = Http.download(filepath, ~into=tarDestination);
let extractionDestination =
Filename.concat(Directories.nodeVersions, versionName);
Filename.concat(Directories.nodeVersions, version);
Logger.debug(
<Pastel>
@ -79,13 +50,66 @@ let main = (~version as versionName) => { @@ -79,13 +50,66 @@ let main = (~version as versionName) => {
Logger.info(
<Pastel>
"Version "
<Pastel color=Pastel.Cyan> versionName </Pastel>
<Pastel color=Pastel.Cyan> version </Pastel>
" was successfully downloaded"
</Pastel>,
);
let%lwt _ =
Compression.extractFile(tarDestination, ~into=extractionDestination);
Lwt.return_unit;
};
let main = (~version as versionName) => {
let%lwt os = System.NodeOS.get()
and arch = System.NodeArch.get()
and versionName =
switch (versionName) {
| Some(versionName) => Lwt.return(versionName)
| None => Dotfiles.getVersion()
};
let versionName = Versions.format(versionName);
Logger.debug(
<Pastel>
"Looking for node "
<Pastel color=Pastel.Cyan> versionName </Pastel>
" for "
<Pastel color=Pastel.Cyan>
{System.NodeOS.toString(os)}
" "
{System.NodeArch.toString(arch)}
</Pastel>
</Pastel>,
);
let%lwt (fullVersionName, filepath) =
Versions.getFileToDownload(~version=versionName, ~os, ~arch);
let%lwt isAlreadyInstalled = Versions.isInstalled(fullVersionName);
let%lwt _ =
if (isAlreadyInstalled) {
Logger.error(
<Pastel>
"Version "
<Pastel color=Pastel.Cyan> fullVersionName </Pastel>
" is already installed."
</Pastel>,
);
Lwt.return_unit;
} else {
download(~version=fullVersionName, ~filepath);
};
let%lwt _ =
if (Base.String.is_prefix(versionName, ~prefix="latest")) {
let%lwt _ = Alias.run(~name=versionName, ~version=fullVersionName);
Lwt.return_unit;
} else {
Lwt.return_unit;
};
Lwt.return();
};
@ -104,15 +128,6 @@ let run = (~version) => @@ -104,15 +128,6 @@ let run = (~version) =>
</Pastel>,
);
exit(1);
| Versions.Already_installed(version) =>
Logger.error(
<Pastel>
"Version "
<Pastel color=Pastel.Cyan> version </Pastel>
" is already installed."
</Pastel>,
)
|> Lwt.return
| Versions.Version_not_found(version) =>
Logger.error(
<Pastel>

1
feature_tests/use_nvmrc_lts/.nvmrc

@ -0,0 +1 @@ @@ -0,0 +1 @@
lts/dubnium

9
feature_tests/use_nvmrc_lts/run.sh

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
#!/bin/bash
set -e
eval "$(fnm env)"
fnm install
fnm use
fnm ls | grep latest-dubnium

122
library/Versions.re

@ -45,25 +45,26 @@ module Local = { @@ -45,25 +45,26 @@ module Local = {
let remove = version => Fs.rmdir(version.fullPath);
let getLatestInstalledNameByPrefix = prefix => {
open Lwt.Infix;
let%lwt versions =
Lwt.catch(
() =>
Fs.readdir(Directories.nodeVersions)
>|= List.filter(isVersionFitsPrefix(prefix))
>|= List.sort(flip(compare)),
_ => Lwt.return_nil,
);
switch (versions) {
| [version, ..._xs] => Lwt.return_some(version)
| [] => Lwt.return_none
};
};
let getLatestInstalledNameByPrefix = prefix =>
Lwt.Infix.(
{
let%lwt versions =
Lwt.catch(
() =>
Fs.readdir(Directories.nodeVersions)
>|= List.filter(isVersionFitsPrefix(prefix))
>|= List.sort(flip(compare)),
_ => Lwt.return_nil,
);
switch (versions) {
| [version, ..._xs] => Lwt.return_some(version)
| [] => Lwt.return_none
};
}
);
};
exception Version_not_found(string);
exception Already_installed(string);
module Aliases = {
module VersionAliasMap = Map.Make(String);
@ -166,6 +167,16 @@ module Remote = { @@ -166,6 +167,16 @@ module Remote = {
};
};
let ltsVersion = version =>
if (Base.String.is_prefix(version, ~prefix="lts/")) {
switch (Str.last_chars(version, String.length(version) - 4)) {
| exception _ => None
| x => Some(x)
};
} else {
None;
};
let format = version => {
let version =
switch (Str.first_chars(version, 1) |> Int32.of_string) {
@ -173,6 +184,12 @@ let format = version => { @@ -173,6 +184,12 @@ let format = version => {
| exception _ => version
};
let version =
switch (ltsVersion(version)) {
| Some(lts) => "latest-" ++ lts
| None => version
};
version;
};
@ -185,7 +202,7 @@ let endsWith = (~suffix, str) => { @@ -185,7 +202,7 @@ let endsWith = (~suffix, str) => {
exception No_Download_For_System(System.NodeOS.t, System.NodeArch.t);
let getCurrentVersion = () => {
let getCurrentVersion = () =>
switch%lwt (Fs.realpath(Directories.currentVersion)) {
| Missing(x) when x == Directories.currentVersion => Lwt.return_none
| Missing(_) => Lwt.return_some(Local.systemVersion)
@ -203,7 +220,6 @@ let getCurrentVersion = () => { @@ -203,7 +220,6 @@ let getCurrentVersion = () => {
},
);
};
};
let getInstalledVersions = () => {
let%lwt versions =
@ -248,22 +264,23 @@ let getRemoteVersions = () => { @@ -248,22 +264,23 @@ let getRemoteVersions = () => {
|> Lwt.return;
};
let getRemoteLatestVersionByPrefix = prefix => {
open Remote;
let getRemoteLatestVersionByPrefix = prefix =>
Remote.(
{
let%lwt remoteVersions = getRemoteVersions();
let%lwt remoteVersions = getRemoteVersions();
let compatibleVersions =
remoteVersions
|> List.map(x => x.name)
|> List.filter(isVersionFitsPrefix(prefix))
|> List.sort(flip(compare));
let compatibleVersions =
remoteVersions
|> List.map(x => x.name)
|> List.filter(isVersionFitsPrefix(prefix))
|> List.sort(flip(compare));
switch (compatibleVersions) {
| [version, ..._vs] => Lwt.return_some(version)
| [] => Lwt.return_none
};
};
switch (compatibleVersions) {
| [version, ..._vs] => Lwt.return_some(version)
| [] => Lwt.return_none
};
}
);
let getExactFileToDownload = (~version as versionName, ~os, ~arch) => {
let versionName =
@ -301,7 +318,7 @@ let getExactFileToDownload = (~version as versionName, ~os, ~arch) => { @@ -301,7 +318,7 @@ let getExactFileToDownload = (~version as versionName, ~os, ~arch) => {
};
};
let getFileToDownload = (~version, ~os, ~arch) => {
let getFileToDownload = (~version, ~os, ~arch) =>
try%lwt (getExactFileToDownload(~version, ~os, ~arch)) {
| Version_not_found(_) as e =>
switch%lwt (getRemoteLatestVersionByPrefix(version)) {
@ -310,7 +327,6 @@ let getFileToDownload = (~version, ~os, ~arch) => { @@ -310,7 +327,6 @@ let getFileToDownload = (~version, ~os, ~arch) => {
getExactFileToDownload(~version=exactVersion, ~os, ~arch)
}
};
};
type t =
| System
@ -323,33 +339,35 @@ let parse = version => { @@ -323,33 +339,35 @@ let parse = version => {
if (formattedVersion == Local.systemVersion.name) {
Lwt.return_some(System);
} else {
let aliasPath = Aliases.toDirectory(version);
let versionPath = Local.toDirectory(formattedVersion);
let%lwt aliasExists = Fs.exists(aliasPath)
and versionExists = Fs.exists(versionPath)
let%lwt aliasExists = Aliases.toDirectory(version) |> Fs.exists
and aliasExistsOnFormatted =
Aliases.toDirectory(formattedVersion) |> Fs.exists
and versionExists = Local.toDirectory(formattedVersion) |> Fs.exists
and versionByPrefixPath =
Local.getLatestInstalledNameByPrefix(formattedVersion);
switch (versionExists, aliasExists, versionByPrefixPath) {
| (true, _, _) => Some(Local(formattedVersion)) |> Lwt.return
| (_, true, _) => Some(Alias(version)) |> Lwt.return
| (_, false, Some(version)) => Some(Local(version)) |> Lwt.return
| (false, false, None) => Lwt.return_none
switch (
versionExists,
aliasExists,
aliasExistsOnFormatted,
versionByPrefixPath,
) {
| (true, _, _, _) => Some(Local(formattedVersion)) |> Lwt.return
| (_, true, _, _) => Some(Alias(version)) |> Lwt.return
| (_, _, true, _) => Some(Alias(formattedVersion)) |> Lwt.return
| (_, false, false, Some(version)) =>
Some(Local(version)) |> Lwt.return
| (false, false, false, None) => Lwt.return_none
};
};
};
let throwIfInstalled = versionName => {
let isInstalled = versionName => {
let%lwt installedVersions =
try%lwt (getInstalledVersions()) {
| _ => Lwt.return([])
};
let isAlreadyInstalled =
installedVersions |> List.exists(x => Local.(x.name == versionName));
if (isAlreadyInstalled) {
Lwt.fail(Already_installed(versionName));
} else {
Lwt.return();
};
installedVersions
|> List.exists(x => Local.(x.name == versionName))
|> Lwt.return;
};

35
package.json

@ -81,27 +81,30 @@ @@ -81,27 +81,30 @@
},
"license": "GPL-3.0",
"dependencies": {
"@opam/dune": "*",
"@opam/base": "*",
"@opam/cmdliner": "*",
"@opam/lwt": "*",
"@opam/lwt_ppx": "*",
"@opam/ppx_let": "*",
"@opam/ppx_deriving": "*",
"@opam/cohttp": "*",
"@opam/cohttp-lwt": "*",
"@opam/cohttp-lwt-unix": "*",
"@opam/ssl": "*",
"@opam/lwt_ssl": "*",
"@reason-native/console": "*",
"@reason-native/pastel": "~0.2.0",
"@reason-native/rely": "~1.2.0",
"@opam/dune": "^1.9.3",
"@opam/base": "v0.12.2",
"@opam/cmdliner": "^1.0.3",
"@opam/lwt": "^4.2.1",
"@opam/lwt_ppx": "^1.2.2",
"@opam/ppx_let": "v0.12.0",
"@opam/ppx_deriving": "^4.2.1",
"@opam/cohttp": "^2.1.2",
"@opam/cohttp-lwt": "^2.0.0",
"@opam/cohttp-lwt-unix": "^2.0.0",
"@opam/ssl": "0.5.7",
"@opam/lwt_ssl": "^1.1.2",
"@reason-native/console": "^0.1.0",
"@reason-native/pastel": "^0.2.0",
"@reason-native/rely": "^1.2.0",
"@esy-ocaml/reason": "*",
"@opam/lambdasoup": "*",
"@opam/lambdasoup": "^0.6.3",
"refmterr": "*",
"ocaml": "~4.6.0",
"pesy": "*"
},
"resolutions": {
"@opam/macaddr": "3.1.0"
},
"devDependencies": {
"@opam/merlin": "*",
"prettier": "*",

2
test/SmokeTest.re

@ -7,7 +7,7 @@ describe("Smoke test", ({test, _}) => { @@ -7,7 +7,7 @@ describe("Smoke test", ({test, _}) => {
test("Get version", ({expect}) => {
let version = run([|"--version"|]);
expect.string(version).toMatch("^[0-9]+.[0-9]+.[0-9]+$");
expect.string(version |> String.trim).toMatch("^\\d+.\\d+.\\d+$");
});
test("env", ({expect}) => {

1
windows.json

@ -4,6 +4,7 @@ @@ -4,6 +4,7 @@
"build": "refmterr dune build --profile release",
"resolutions": {
"yarn-pkg-config": "prometheansacrifice/yarn-pkg-config#cc5b4f913cccee781461b16d49b902c84727e7ed",
"@opam/macaddr": "mirage/ocaml-ipaddr:macaddr.opam#633e0d7f10d7dd505490a4185c265064a906c482",
"@esy-packages/esy-openssl": "esy-packages/esy-openssl#f731e9c",
"@opam/ssl": {
"source": "ulrikstrid/ocaml-ssl:ssl.opam#2ec4c66",

Loading…
Cancel
Save