this repo has no description
1opam-version: "2.0"
2authors: ["David Kaloper Meršinjak <david@numm.org>"]
3maintainer: "David Kaloper Meršinjak <david@numm.org>"
4homepage: "https://github.com/mirleft/ocaml-asn1-combinators"
5doc: "https://mirleft.github.io/ocaml-asn1-combinators/doc"
6license: "ISC"
7dev-repo: "git+https://github.com/mirleft/ocaml-asn1-combinators.git"
8bug-reports: "https://github.com/mirleft/ocaml-asn1-combinators/issues"
9tags: [ "org:mirage" ]
10build: [
11 ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "false"]
12 ["ocaml" "pkg/pkg.ml" "build" "--pinned" "%{pinned}%" "--tests" "true"]
13 {with-test}
14 ["ocaml" "pkg/pkg.ml" "test"] {with-test}
15]
16depends: [
17 "ocaml" {>= "4.02.0" & < "4.12.0"}
18 "ocamlfind" {build}
19 "ocamlbuild" {build}
20 "topkg" {build}
21 "result"
22 "cstruct" {>= "4.0.0" & < "6.0.0"}
23 "zarith"
24 "ptime"
25 "ounit" {with-test}
26 "bigarray-compat"
27]
28conflicts: [ "cstruct" {< "1.6.0"} ]
29patches: [ "0001-bigarray-compat.patch" ]
30synopsis: "Embed typed ASN.1 grammars in OCaml"
31description: """
32asn1-combinators is a library for expressing ASN.1 in OCaml. Skip the notation
33part of ASN.1, and embed the abstract syntax directly in the language. These
34abstract syntax representations can be used for parsing, serialization, or
35random testing.
36
37The only ASN.1 encodings currently supported are BER and DER.
38
39asn1-combinators is distributed under the ISC license."""
40url {
41 src:
42 "https://github.com/mirleft/ocaml-asn1-combinators/releases/download/v0.2.0/asn1-combinators-0.2.0.tbz"
43 checksum: [
44 "sha256=109d7f0b494f98eaf393c68ece6c6ccc9f6ee31b3bab8b8d517dee3542cff3b1"
45 "md5=f695aec35f8934d20d966032adbf3520"
46 ]
47}
48extra-source "0001-bigarray-compat.patch" {
49 src:
50 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/asn1-combinators/0001-bigarray-compat.patch"
51 checksum: [
52 "sha256=28f2a3e7a99906f0e06009cf831572185b21efe777d333ff47fbd9d2aec11a68"
53 "md5=cca9c049641c510b9425fa75b7b669da"
54 ]
55}