[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49867] [PATCH v2 19/31] gnu: Add ocaml-asn1-combinators.
From: |
pukkamustard |
Subject: |
[bug#49867] [PATCH v2 19/31] gnu: Add ocaml-asn1-combinators. |
Date: |
Mon, 9 Aug 2021 07:01:12 +0000 |
* gnu/packages/ocaml.scm (ocaml-asn1-combinators): New variable.
---
gnu/packages/ocaml.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7af276a517..de3ae3eb9d 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -7758,6 +7758,41 @@ The additional Ptime_clock library provides access to a
system POSIX clock and
to the system's current time zone offset.")
(license license:isc)))
+(define-public ocaml-asn1-combinators
+ (package
+ (name "ocaml-asn1-combinators")
+ (version "0.2.5")
+ (home-page "https://github.com/mirleft/ocaml-asn1-combinators")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0n7afzyqc3b7g7rl54ccw31431h6g145zvpzg34q0y4m5gzjv5h5"))))
+ (build-system dune-build-system)
+ (arguments `(#:test-target "."))
+ (propagated-inputs
+ `(("ocaml-cstruct" ,ocaml-cstruct)
+ ("ocaml-zarith" ,ocaml-zarith)
+ ("ocaml-bigarray-compat" ,ocaml-bigarray-compat)
+ ("ocaml-stdlib-shims" ,ocaml-stdlib-shims)
+ ("ocaml-ptime" ,ocaml-ptime)))
+ (native-inputs
+ `(("ocaml-alcotest" ,ocaml-alcotest)))
+ (inputs `(("gmp" ,gmp)))
+ (synopsis "OCaml library for embedding typed ASN.1 grammars")
+ (description "@{ocaml-asn1-combinators} is an OCaml library for expressing
+ASN.1 in OCaml. This allows you to skip the notation part of ASN.1, and embed
+the abstract syntax directly in the language. These abstract syntax
+representations can be used for parsing, serialization, or random testing.
+
+The only ASN.1 encodings currently supported are BER and DER.")
+ (license license:isc)))
+
(define-public js-of-ocaml
(package
(name "js-of-ocaml")
--
2.32.0
- [bug#49867] [PATCH v2 18/31] gnu: Add ocaml-ptime., (continued)
- [bug#49867] [PATCH v2 18/31] gnu: Add ocaml-ptime., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 15/31] gnu: Add ocaml-randomconv., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 11/31] gnu: Add ocaml-crowbar., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 11/31] gnu: Add ocaml-crowbar., Xinglu Chen, 2021/08/09
- [bug#49867] [PATCH v2 11/31] gnu: Add ocaml-crowbar., Julien Lepiller, 2021/08/09
- [bug#49867] [PATCH v2 11/31] gnu: Add ocaml-crowbar., Xinglu Chen, 2021/08/09
- [bug#49867] [PATCH v2 11/31] gnu: Add ocaml-crowbar., pukkamustard, 2021/08/10
- [bug#49867] [PATCH v2 11/31] gnu: Add ocaml-crowbar., Xinglu Chen, 2021/08/10
- [bug#49867] [PATCH v2 16/31] gnu: Add ocaml-mirage-crypto-rng., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 22/31] gnu: Add ocaml-mirage-crypto-ec., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 19/31] gnu: Add ocaml-asn1-combinators.,
pukkamustard <=
- [bug#49867] [PATCH v2 25/31] gnu: Add ocaml-cstruct-unix., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 20/31] gnu: Add ocaml-ppx-deriving., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 21/31] gnu: Add ocaml-ppx-deriving-yojson., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 27/31] gnu: Add ocaml-ca-certs., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 28/31] gnu: Add ocaml-lwt-ssl., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 29/31] gnu: Add ocaml-conduit-lwt-unix., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 26/31] gnu: Add ocaml-x509., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 30/31] gnu: Add ocaml-magic-mime., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 31/31] gnu: Add ocaml-cohttp-lwt-unix, pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 24/31] gnu: Add ocaml-pbkdf., pukkamustard, 2021/08/09