-
Notifications
You must be signed in to change notification settings - Fork 0
/
ppx_deriving_madcast.opam
43 lines (41 loc) · 1.11 KB
/
ppx_deriving_madcast.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.2"
synopsis: "Library deriving cast functions based on their types"
description: """
This package provides a PPX that allows to derive cast functions based
on their types.
For instance, `[%madcast: ('a * string) -> ('a * int)]` would be replaced by:
fun (x, y) ->
(x,
try int_of_string y
with Failure _ -> failwith "madcast: string -> int")
"""
maintainer: ["Niols <[email protected]>"]
authors: ["Kerl <[email protected]>" "Niols <[email protected]>"]
license: "LGPL-3.0-or-later"
tags: ["syntax"]
homepage: "https://github.com/LesBoloss-es/ppx_deriving_madcast"
bug-reports: "https://github.com/LesBoloss-es/ppx_deriving_madcast/issues"
depends: [
"dune" {build & >= "2.5"}
"ocaml" {>= "4.05.0"}
"odoc" {with-test}
"ppx_deriving" {build & >= "5.0"}
"ppxlib" {>= "0.15.0"}
]
build: [
["dune" "subst"] {pinned}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/LesBoloss-es/ppx_deriving_madcast.git"