this repo has no description

Merge pull request #22870 from Niols/opam-publish-ppx_deriving_madcast.0.2

Package ppx_deriving_madcast.0.2

Changed files
+50
packages
ppx_deriving_madcast
ppx_deriving_madcast.0.2
+50
packages/ppx_deriving_madcast/ppx_deriving_madcast.0.2/opam
···
···
+
# This file is generated by dune, edit dune-project instead
+
opam-version: "2.0"
+
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 <niols@niols.fr>"]
+
authors: ["Kerl <kerl@wkerl.me>" "Niols <niols@niols.fr>"]
+
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" {>= "2.5"}
+
"ocaml"
+
"odoc" {with-test}
+
"ppx_deriving" {>= "5.0"}
+
"ppxlib" {>= "0.15.0"}
+
]
+
build: [
+
["dune" "subst"] {dev}
+
[
+
"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"
+
url {
+
src:
+
"https://github.com/LesBoloss-es/ppx_deriving_madcast/archive/v0.2.tar.gz"
+
checksum: [
+
"md5=bca83dbf5a6fb47ced07756c6cab1d9a"
+
"sha512=f2f604685649d8fc0c750adfb89d997ea62f2fd09f383dc38b4580fdbb7f96e45a637745f1f06aa1b529d6abcfea6691ef309eb32e423c780c2370aff4678950"
+
]
+
}