|
| 1 | +opam-version: "2.0" |
| 2 | +synopsis: |
| 3 | + "Adds Fpath.sexp_of_t and defines 3 new modules: Fsegment, Absolute_path and Relative_path" |
| 4 | +maintainer: ["Mathieu Barbin < [email protected]>"] |
| 5 | +authors: ["Mathieu Barbin"] |
| 6 | +license: "MIT" |
| 7 | +homepage: "https://github.com/mbarbin/fpath-base" |
| 8 | +doc: "https://mbarbin.github.io/fpath-base/" |
| 9 | +bug-reports: "https://github.com/mbarbin/fpath-base/issues" |
| 10 | +depends: [ |
| 11 | + "dune" {>= "3.17"} |
| 12 | + "ocaml" {>= "4.14"} |
| 13 | + "fpath" {>= "0.7.3"} |
| 14 | + "sexplib0" {>= "v0.16"} |
| 15 | + "odoc" {with-doc} |
| 16 | +] |
| 17 | +build: [ |
| 18 | + ["dune" "subst"] {dev} |
| 19 | + [ |
| 20 | + "dune" |
| 21 | + "build" |
| 22 | + "-p" |
| 23 | + name |
| 24 | + "-j" |
| 25 | + jobs |
| 26 | + "@install" |
| 27 | + "@runtest" {with-test} |
| 28 | + "@doc" {with-doc} |
| 29 | + ] |
| 30 | +] |
| 31 | +dev-repo: "git+https://github.com/mbarbin/fpath-base.git" |
| 32 | +description: """\ |
| 33 | + |
| 34 | +[Fpath_sexplib0] is an OCaml module designed to be opened to extend |
| 35 | +the [fpath] package. It introduces three new modules to the scope: |
| 36 | +[Fsegment], [Absolute_path] and [Relative_path]. |
| 37 | + |
| 38 | +[Absolute_path] and [Relative_path] are helper modules that |
| 39 | +distinguish between classes of paths in the type system, enhancing |
| 40 | +type safety for applications manipulating paths. |
| 41 | + |
| 42 | +[Fpath] is shadowed and retains all its original functionality, with |
| 43 | +the addition of a sexp serializer and new helpers for casting between |
| 44 | +the types of paths offered by the package (absolute and relative |
| 45 | +paths). |
| 46 | + |
| 47 | +[fpath]: https://github.com/dbuenzli/fpath |
| 48 | + |
| 49 | +""" |
| 50 | +tags: [ "fpath" "absolute-paths" "relative-paths" ] |
| 51 | +x-maintenance-intent: [ "(latest)" ] |
| 52 | +url { |
| 53 | + src: |
| 54 | + "https://github.com/mbarbin/fpath-base/releases/download/0.3.0/fpath-base-0.3.0.tbz" |
| 55 | + checksum: [ |
| 56 | + "sha256=fc93586fe61bf610b35b4b47fc8e8bbabc48665205074fc621b1d74db8e8278e" |
| 57 | + "sha512=fed6a7666df4db9416b5c6341d398fba663894cba39355cf01024b605a6556396f0b32adf322f3a37b75f84eec3ebbe4865455938f35b75daefb7a8e2f823e5b" |
| 58 | + ] |
| 59 | +} |
| 60 | +x-commit-hash: "1b9234689acd747cd1d005f1c2798573368466ad" |
0 commit comments