Skip to content

Commit b88c105

Browse files
authored
Merge pull request #27923 from mbarbin/opam-publish-fpath-base.0.3.1
2 packages from mbarbin/fpath-base at 0.3.1
2 parents 0763422 + df245db commit b88c105

File tree

2 files changed

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

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.1/fpath-base-0.3.1.tbz"
52+
checksum: [
53+
"sha256=634acd1b009c6faf0bc57e18767820302d58a58ac2870238b5075c76a84a09a9"
54+
"sha512=158c569ed51dd87e014de5823c2fb9893bd680887411715ee35682dcbd3736d11e8af78a242baac8c0d4716a8b554a816267c09c702c9f9b26268579f3d9a7ef"
55+
]
56+
}
57+
x-commit-hash: "f560b743a9d4279241fe48a8f5554eaf761c4feb"
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.1/fpath-base-0.3.1.tbz"
55+
checksum: [
56+
"sha256=634acd1b009c6faf0bc57e18767820302d58a58ac2870238b5075c76a84a09a9"
57+
"sha512=158c569ed51dd87e014de5823c2fb9893bd680887411715ee35682dcbd3736d11e8af78a242baac8c0d4716a8b554a816267c09c702c9f9b26268579f3d9a7ef"
58+
]
59+
}
60+
x-commit-hash: "f560b743a9d4279241fe48a8f5554eaf761c4feb"

0 commit comments

Comments
 (0)