The unpac monorepo manager self-hosting as a monorepo using unpac
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Port vendored packages to dune

Cherry-picked dune patches from mymatrix for:
- astring
- fmt
- fpath
- hmap
- jsonm (new dune files)
- jsont
- logs
- mtime
- ptime
- uutf

+472 -18
+35
unpac-claude.opam
··· 1 + # This file is generated by dune, edit dune-project instead 2 + opam-version: "2.0" 3 + synopsis: "Claude AI agent for unpac" 4 + description: 5 + "An autonomous Claude agent that understands unpac workflows and can explore/code in a loop" 6 + authors: ["Anil Madhavapeddy"] 7 + license: "ISC" 8 + depends: [ 9 + "dune" {>= "3.20"} 10 + "ocaml" {>= "5.1.0"} 11 + "unpac" 12 + "claude" 13 + "eio_main" {>= "1.0"} 14 + "cmdliner" {>= "1.2.0"} 15 + "logs" {>= "0.7.0"} 16 + "fmt" {>= "0.9.0"} 17 + "digestif" {>= "1.0.0"} 18 + "base64" {>= "3.0.0"} 19 + "odoc" {with-doc} 20 + ] 21 + build: [ 22 + ["dune" "subst"] {dev} 23 + [ 24 + "dune" 25 + "build" 26 + "-p" 27 + name 28 + "-j" 29 + jobs 30 + "@install" 31 + "@runtest" {with-test} 32 + "@doc" {with-doc} 33 + ] 34 + ] 35 + x-maintenance-intent: ["(latest)"]
+32
unpac-opam.opam
··· 1 + # This file is generated by dune, edit dune-project instead 2 + opam-version: "2.0" 3 + synopsis: "Opam backend for unpac" 4 + description: "Opam package vendoring backend for unpac" 5 + authors: ["Anil Madhavapeddy"] 6 + license: "ISC" 7 + depends: [ 8 + "dune" {>= "3.20"} 9 + "ocaml" {>= "5.1.0"} 10 + "unpac" 11 + "opam-format" 12 + "opam-core" 13 + "opam-state" 14 + "opam-0install" 15 + "cmdliner" {>= "1.2.0"} 16 + "odoc" {with-doc} 17 + ] 18 + build: [ 19 + ["dune" "subst"] {dev} 20 + [ 21 + "dune" 22 + "build" 23 + "-p" 24 + name 25 + "-j" 26 + jobs 27 + "@install" 28 + "@runtest" {with-test} 29 + "@doc" {with-doc} 30 + ] 31 + ] 32 + x-maintenance-intent: ["(latest)"]
+32
unpac.opam
··· 1 + # This file is generated by dune, edit dune-project instead 2 + opam-version: "2.0" 3 + synopsis: "Monorepo management tool" 4 + description: 5 + "A tool for managing OCaml monorepos with opam repository integration" 6 + authors: ["Anil Madhavapeddy"] 7 + license: "ISC" 8 + depends: [ 9 + "dune" {>= "3.20"} 10 + "ocaml" {>= "5.1.0"} 11 + "eio_main" {>= "1.0"} 12 + "logs" {>= "0.7.0"} 13 + "fmt" {>= "0.9.0"} 14 + "tomlt" 15 + "jsont" {>= "0.1.0"} 16 + "odoc" {with-doc} 17 + ] 18 + build: [ 19 + ["dune" "subst"] {dev} 20 + [ 21 + "dune" 22 + "build" 23 + "-p" 24 + name 25 + "-j" 26 + jobs 27 + "@install" 28 + "@runtest" {with-test} 29 + "@doc" {with-doc} 30 + ] 31 + ] 32 + x-maintenance-intent: ["(latest)"]
vendor/opam/astring/astring.opam

This is a binary file and will not be displayed.

+2
vendor/opam/astring/dune-project
··· 1 + (lang dune 3.0) 2 + (name astring)
+11
vendor/opam/astring/src/dune
··· 1 + (library 2 + (name astring) 3 + (public_name astring) 4 + (flags (:standard -w -27)) 5 + (modules Astring_unsafe Astring_base Astring_escape Astring_char Astring_sub Astring_string Astring)) 6 + 7 + (library 8 + (name astring_top) 9 + (public_name astring.top) 10 + (libraries compiler-libs.toplevel astring) 11 + (modules Astring_top))
+22
vendor/opam/fmt/dune-project
··· 1 + (lang dune 3.0) 2 + (name fmt) 3 + 4 + (generate_opam_files false) 5 + 6 + (source (github dbuenzli/fmt)) 7 + (license ISC) 8 + (authors "The fmt programmers") 9 + (maintainers "Daniel Bünzli <daniel.buenzl i@erratique.ch>") 10 + 11 + (package 12 + (name fmt) 13 + (synopsis "OCaml Format pretty-printer combinators") 14 + (description "Fmt exposes combinators to devise `Format` pretty-printing functions. 15 + 16 + Fmt depends only on the OCaml standard library. The optional `Fmt_tty` 17 + library that allows to setup formatters for terminal color output 18 + depends on the Unix library. The optional `Fmt_cli` library that 19 + provides command line support for Fmt depends on `cmdliner`. 20 + 21 + Fmt is distributed under the ISC license.") 22 + (tags (string format pretty-print org:erratique)))
+5
vendor/opam/fmt/src/cli/dune
··· 1 + (library 2 + (name fmt_cli) 3 + (public_name fmt.cli) 4 + (libraries cmdliner fmt) 5 + (modules fmt_cli))
+5
vendor/opam/fmt/src/dune
··· 1 + (library 2 + (name fmt) 3 + (public_name fmt) 4 + (modules fmt) 5 + (flags (:standard -w -27-32-34-50)))
+10
vendor/opam/fmt/src/top/dune
··· 1 + (library 2 + (name fmt_top) 3 + (public_name fmt.top) 4 + (libraries compiler-libs.toplevel) 5 + (modules fmt_top)) 6 + 7 + (install 8 + (section lib) 9 + (package fmt) 10 + (files fmt_tty_top_init.ml))
+5
vendor/opam/fmt/src/tty/dune
··· 1 + (library 2 + (name fmt_tty) 3 + (public_name fmt.tty) 4 + (libraries unix fmt) 5 + (modules fmt_tty))
+2
vendor/opam/fpath/dune-project
··· 1 + (lang dune 3.0) 2 + (name fpath)
vendor/opam/fpath/fpath.opam

This is a binary file and will not be displayed.

+6
vendor/opam/fpath/src/dune
··· 1 + (library 2 + (name fpath) 3 + (public_name fpath) 4 + (libraries astring) 5 + (flags (:standard -w -27-32-39)) 6 + (modules Fpath))
+5
vendor/opam/fpath/src/top/dune
··· 1 + (library 2 + (name fpath_top) 3 + (public_name fpath.top) 4 + (libraries compiler-libs.toplevel fpath) 5 + (modules Fpath_top))
+2
vendor/opam/hmap/dune-project
··· 1 + (lang dune 3.0) 2 + (name hmap)
vendor/opam/hmap/hmap.opam

This is a binary file and will not be displayed.

+4
vendor/opam/hmap/src/dune
··· 1 + (library 2 + (name hmap) 3 + (public_name hmap) 4 + (modules Hmap))
+2
vendor/opam/jsonm/dune-project
··· 1 + (lang dune 3.0) 2 + (name jsonm)
vendor/opam/jsonm/jsonm.opam

This is a binary file and will not be displayed.

+4
vendor/opam/jsonm/src/dune
··· 1 + (library 2 + (name jsonm) 3 + (public_name jsonm) 4 + (libraries uutf))
+2
vendor/opam/jsont/dune-project
··· 1 + (lang dune 3.0) 2 + (name jsont)
+59
vendor/opam/jsont/jsont.opam
··· 1 + opam-version: "2.0" 2 + name: "jsont" 3 + synopsis: "Declarative JSON data manipulation for OCaml" 4 + description: """\ 5 + Jsont is an OCaml library for declarative JSON data manipulation. It 6 + provides: 7 + 8 + - Combinators for describing JSON data using the OCaml values of your 9 + choice. The descriptions can be used by generic functions to 10 + decode, encode, query and update JSON data without having to 11 + construct a generic JSON representation. 12 + - A JSON codec with optional text location tracking and layout 13 + preservation. The codec is compatible with effect-based concurrency. 14 + 15 + The descriptions are independent from the codec and can be used by 16 + third-party processors or codecs. 17 + 18 + Jsont is distributed under the ISC license. It has no dependencies. 19 + The codec is optional and depends on the [`bytesrw`] library. The JavaScript 20 + support is optional and depends on the [`brr`] library. 21 + 22 + Homepage: <https://erratique.ch/software/jsont/> 23 + 24 + [`bytesrw`]: https://erratique.ch/software/bytesrw 25 + [`brr`]: https://erratique.ch/software/brr""" 26 + maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>" 27 + authors: "The jsont programmers" 28 + license: "ISC" 29 + tags: ["json" "codec" "org:erratique"] 30 + homepage: "https://erratique.ch/software/jsont" 31 + doc: "https://erratique.ch/software/jsont/doc" 32 + bug-reports: "https://github.com/dbuenzli/jsont/issues" 33 + depends: [ 34 + "ocaml" {>= "4.14.0"} 35 + "ocamlfind" {build} 36 + "ocamlbuild" {build} 37 + "topkg" {build & >= "1.1.0"} 38 + "b0" {dev & with-test} 39 + ] 40 + depopts: ["cmdliner" "brr" "bytesrw"] 41 + conflicts: [ 42 + "cmdliner" {< "1.3.0"} 43 + "brr" {< "0.0.6"} 44 + ] 45 + build: [ 46 + "ocaml" 47 + "pkg/pkg.ml" 48 + "build" 49 + "--dev-pkg" 50 + "%{dev}%" 51 + "--with-cmdliner" 52 + "%{cmdliner:installed}%" 53 + "--with-bytesrw" 54 + "%{bytesrw:installed}%" 55 + "--with-brr" 56 + "%{brr:installed}%" 57 + ] 58 + dev-repo: "git+https://erratique.ch/repos/jsont.git" 59 + x-maintenance-intent: ["(latest)"]
+6
vendor/opam/jsont/src/brr/dune
··· 1 + (library 2 + (name jsont_brr) 3 + (public_name jsont.brr) 4 + (optional) 5 + (libraries brr jsont) 6 + (modules Jsont_brr))
+7
vendor/opam/jsont/src/bytesrw/dune
··· 1 + (library 2 + (name jsont_bytesrw) 3 + (public_name jsont.bytesrw) 4 + (optional) 5 + (libraries bytesrw jsont) 6 + (modules Jsont_bytesrw) 7 + (flags (:standard -w -27-32-34-35)))
+5
vendor/opam/jsont/src/dune
··· 1 + (library 2 + (name jsont) 3 + (public_name jsont) 4 + (modules Jsont_base Jsont) 5 + (flags (:standard -w -27-30-32-34-35)))
+49
vendor/opam/logs/dune-project
··· 1 + (lang dune 3.0) 2 + (name logs) 3 + 4 + (generate_opam_files false) 5 + 6 + (source (github dbuenzli/logs)) 7 + (license ISC) 8 + (authors "The logs programmers") 9 + (maintainers "Daniel Bünzli <daniel.buenzl i@erratique.ch>") 10 + 11 + (package 12 + (name logs) 13 + (synopsis "Logging infrastructure for OCaml") 14 + (description "Logs provides a logging infrastructure for OCaml. Logging is performed 15 + on sources whose reporting level can be set independently. Log message 16 + report is decoupled from logging and is handled by a reporter. 17 + 18 + A few optional log reporters are distributed with the base library and 19 + the API easily allows to implement your own. 20 + 21 + `Logs` has no dependencies. The optional `Logs_fmt` reporter on OCaml 22 + formatters depends on [Fmt][fmt]. The optional `Logs_browser` 23 + reporter that reports to the web browser console depends on 24 + [js_of_ocaml][jsoo]. The optional `Logs_cli` library that provides 25 + command line support for controlling Logs depends on 26 + [`Cmdliner`][cmdliner]. The optional `Logs_lwt` library that provides 27 + Lwt logging functions depends on [`Lwt`][lwt] 28 + 29 + Logs and its reporters are distributed under the ISC license. 30 + 31 + [fmt]: http://erratique.ch/software/fmt 32 + [jsoo]: http://ocsigen.org/js_of_ocaml/ 33 + [cmdliner]: http://erratique.ch/software/cmdliner 34 + [lwt]: http://ocsigen.org/lwt/ 35 + 36 + Home page: <http://erratique.ch/software/logs>") 37 + (depends 38 + (ocaml (>= 4.14.0))) 39 + (depopts 40 + cmdliner 41 + js_of_ocaml-compiler 42 + fmt 43 + lwt 44 + base-threads) 45 + (conflicts 46 + (cmdliner (< 1.3.0)) 47 + (js_of_ocaml-compiler (< 5.5.0)) 48 + (fmt (< 0.9.0))) 49 + (tags (log system "org:erratique")))
+3 -18
vendor/opam/logs/opam
··· 34 34 bug-reports: "https://github.com/dbuenzli/logs/issues" 35 35 depends: [ 36 36 "ocaml" {>= "4.14.0"} 37 - "ocamlfind" {build} 38 - "ocamlbuild" {build} 39 - "topkg" {build & >= "1.1.0"} 37 + "dune" {>= "3.0"} 40 38 "mtime" {with-test} 41 39 ] 42 40 depopts: ["cmdliner" "js_of_ocaml-compiler" "fmt" "lwt" "base-threads"] ··· 46 44 "fmt" {< "0.9.0"} 47 45 ] 48 46 build: [ 49 - "ocaml" 50 - "pkg/pkg.ml" 51 - "build" 52 - "--dev-pkg" 53 - "%{dev}%" 54 - "--with-js_of_ocaml-compiler" 55 - "%{js_of_ocaml-compiler:installed}%" 56 - "--with-fmt" 57 - "%{fmt:installed}%" 58 - "--with-cmdliner" 59 - "%{cmdliner:installed}%" 60 - "--with-lwt" 61 - "%{lwt:installed}%" 62 - "--with-base-threads" 63 - "%{base-threads:installed}%" 47 + ["dune" "subst"] {dev} 48 + ["dune" "build" "-p" name "-j" jobs] 64 49 ] 65 50 dev-repo: "git+https://erratique.ch/repos/logs.git" 66 51 x-maintenance-intent: ["(latest)"]
+6
vendor/opam/logs/src/browser/dune
··· 1 + (library 2 + (name logs_browser) 3 + (public_name logs.browser) 4 + (modules logs_browser) 5 + (libraries logs js_of_ocaml-compiler.runtime) 6 + (optional))
+7
vendor/opam/logs/src/cli/dune
··· 1 + (library 2 + (name logs_cli) 3 + (public_name logs.cli) 4 + (modules logs_cli) 5 + (libraries logs cmdliner) 6 + (flags (:standard -w -27)) 7 + (optional))
+5
vendor/opam/logs/src/dune
··· 1 + (library 2 + (name logs) 3 + (public_name logs) 4 + (modules logs) 5 + (flags (:standard -w -27)))
+13
vendor/opam/logs/src/fmt/dune
··· 1 + (library 2 + (name logs_fmt) 3 + (public_name logs.fmt) 4 + (modules logs_fmt) 5 + (libraries logs fmt) 6 + (flags (:standard -w -27)) 7 + (optional)) 8 + 9 + (install 10 + (section lib) 11 + (package logs) 12 + (files 13 + (logs_fmt_top_init.ml as fmt/logs_fmt_top_init.ml)))
+7
vendor/opam/logs/src/lwt/dune
··· 1 + (library 2 + (name logs_lwt) 3 + (public_name logs.lwt) 4 + (modules logs_lwt) 5 + (libraries logs lwt) 6 + (flags (:standard -w -27)) 7 + (optional))
+6
vendor/opam/logs/src/threaded/dune
··· 1 + (library 2 + (name logs_threaded) 3 + (public_name logs.threaded) 4 + (modules logs_threaded) 5 + (libraries logs threads.posix) 6 + (optional))
+13
vendor/opam/logs/src/top/dune
··· 1 + (library 2 + (name logs_top) 3 + (public_name logs.top) 4 + (modules logs_top) 5 + (libraries logs compiler-libs.toplevel) 6 + (optional)) 7 + 8 + (install 9 + (section lib) 10 + (package logs) 11 + (files 12 + (logs_top_init.ml as top/logs_top_init.ml) 13 + (logs_top_init.ml as top/logs_top_init_ml)))
+2
vendor/opam/mtime/dune-project
··· 1 + (lang dune 3.0) 2 + (name mtime)
vendor/opam/mtime/mtime.opam

This is a binary file and will not be displayed.

+18
vendor/opam/mtime/src/clock/dune
··· 1 + (library 2 + (name mtime_clock) 3 + (public_name mtime.clock) 4 + (modules Mtime_clock) 5 + (libraries mtime) 6 + (foreign_stubs 7 + (language c) 8 + (names mtime_clock_stubs)) 9 + (js_of_ocaml (javascript_files runtime.js))) 10 + 11 + (deprecated_library_name 12 + (old_public_name mtime.clock.os) 13 + (new_public_name mtime.clock)) 14 + 15 + (install 16 + (section lib) 17 + (package mtime) 18 + (files runtime.js))
+9
vendor/opam/mtime/src/dune
··· 1 + (library 2 + (name mtime) 3 + (public_name mtime) 4 + (modules Mtime)) 5 + 6 + (install 7 + (section lib) 8 + (package mtime) 9 + (files mtime_top_init.ml))
+5
vendor/opam/mtime/src/top/dune
··· 1 + (library 2 + (name mtime_top) 3 + (public_name mtime.top) 4 + (modules Mtime_top) 5 + (libraries compiler-libs.toplevel mtime))
+2
vendor/opam/ptime/dune-project
··· 1 + (lang dune 3.0) 2 + (name ptime)
vendor/opam/ptime/ptime.opam

This is a binary file and will not be displayed.

+8
vendor/opam/ptime/src/clock/dune
··· 1 + (library 2 + (name ptime_clock) 3 + (public_name ptime.clock) 4 + (modules Ptime_clock) 5 + (libraries ptime) 6 + (foreign_stubs 7 + (language c) 8 + (names ptime_clock_stubs)))
+5
vendor/opam/ptime/src/dune
··· 1 + (library 2 + (name ptime) 3 + (public_name ptime) 4 + (modules Ptime) 5 + (flags (:standard -w -27)))
+5
vendor/opam/ptime/src/top/dune
··· 1 + (library 2 + (name ptime_top) 3 + (public_name ptime.top) 4 + (modules Ptime_top) 5 + (libraries ptime compiler-libs.toplevel))
+2
vendor/opam/uutf/dune-project
··· 1 + (lang dune 3.0) 2 + (name uutf)
+6
vendor/opam/uutf/src/dune
··· 1 + (library 2 + (name uutf) 3 + (public_name uutf) 4 + (wrapped false) 5 + (flags (:standard -w -27-32)) 6 + (modules Uutf))
+38
vendor/opam/uutf/uutf.opam
··· 1 + opam-version: "2.0" 2 + name: "uutf" 3 + synopsis: "Non-blocking streaming Unicode codec for OCaml" 4 + description: """\ 5 + **Warning.** You are encouraged not to use this library. 6 + 7 + - As of OCaml 4.14, both UTF encoding and decoding are available 8 + in the standard library, see the `String` and `Buffer` modules. 9 + - If you are looking for a stream abstraction compatible with 10 + effect based concurrency look into [`bytesrw`] package.""" 11 + maintainer: "Daniel Bünzli <daniel.buenzl i@erratique.ch>" 12 + authors: "The uutf programmers" 13 + license: "ISC" 14 + tags: ["unicode" "text" "utf-8" "utf-16" "codec" "org:erratique"] 15 + homepage: "https://erratique.ch/software/uutf" 16 + doc: "https://erratique.ch/software/uutf/doc/" 17 + bug-reports: "https://github.com/dbuenzli/uutf/issues" 18 + depends: [ 19 + "ocaml" {>= "4.08.0"} 20 + "ocamlfind" {build} 21 + "ocamlbuild" {build} 22 + "topkg" {build & >= "1.1.0"} 23 + ] 24 + depopts: ["cmdliner"] 25 + conflicts: [ 26 + "cmdliner" {< "1.3.0"} 27 + ] 28 + build: [ 29 + "ocaml" 30 + "pkg/pkg.ml" 31 + "build" 32 + "--dev-pkg" 33 + "%{dev}%" 34 + "--with-cmdliner" 35 + "%{cmdliner:installed}%" 36 + ] 37 + dev-repo: "git+https://erratique.ch/repos/uutf.git" 38 + x-maintenance-intent: ["(latest)"]