Skip to content

Commit 5c86c59

Browse files
authored
Merge pull request #27908 from mbarbin/fpath-sexp0
[new release] fpath-sexp0 and fpath-base (0.3.0)
2 parents c7d6d1d + 1f5d8c8 commit 5c86c59

File tree

2 files changed

+117
-0
lines changed
  • packages
    • fpath-base/fpath-base.0.3.0
    • fpath-sexp0/fpath-sexp0.0.3.0

2 files changed

+117
-0
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
opam-version: "2.0"
2+
synopsis: "Adds a few functions to Fpath to use alongside Base"
3+
maintainer: ["Mathieu Barbin <[email protected]>"]
4+
authors: ["Mathieu Barbin"]
5+
license: "MIT"
6+
homepage: "https://github.com/mbarbin/fpath-base"
7+
doc: "https://mbarbin.github.io/fpath-base/"
8+
bug-reports: "https://github.com/mbarbin/fpath-base/issues"
9+
depends: [
10+
"dune" {>= "3.17"}
11+
"ocaml" {>= "5.2"}
12+
"base" {>= "v0.17"}
13+
"fpath" {>= "0.7.3"}
14+
"fpath-sexp0" {= version}
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_base] is an OCaml module designed to be opened to shadow and
35+
further extend the four modules from [fpath-sexplib0]: [Fpath],
36+
[Fsegment], [Absolute_path] and [Relative_path] for a better
37+
compatibility with [base].
38+
39+
The extended modules export [hashable] and [comparable] interfaces,
40+
making them compatible with [base]-style containers such as [Map],
41+
[Set], [Hashtbl], and [Hash_set].
42+
43+
[base]: https://github.com/janestreet/base
44+
[fpath]: https://github.com/dbuenzli/fpath
45+
46+
"""
47+
tags: [ "fpath" "fpath-sexp0" "absolute-paths" "relative-paths" "base" ]
48+
x-maintenance-intent: [ "(latest)" ]
49+
url {
50+
src:
51+
"https://github.com/mbarbin/fpath-base/releases/download/0.3.0/fpath-base-0.3.0.tbz"
52+
checksum: [
53+
"sha256=fc93586fe61bf610b35b4b47fc8e8bbabc48665205074fc621b1d74db8e8278e"
54+
"sha512=fed6a7666df4db9416b5c6341d398fba663894cba39355cf01024b605a6556396f0b32adf322f3a37b75f84eec3ebbe4865455938f35b75daefb7a8e2f823e5b"
55+
]
56+
}
57+
x-commit-hash: "1b9234689acd747cd1d005f1c2798573368466ad"
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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

Comments
 (0)