[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49867] [PATCH v2 22/31] gnu: Add ocaml-mirage-crypto-ec.
From: |
pukkamustard |
Subject: |
[bug#49867] [PATCH v2 22/31] gnu: Add ocaml-mirage-crypto-ec. |
Date: |
Mon, 9 Aug 2021 07:01:15 +0000 |
* gnu/packages/ocaml.scm (ocaml-mirage-crypto-ec): New variable.
---
gnu/packages/ocaml.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 0a431b2563..7ef2468d9a 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -7853,6 +7853,40 @@ 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 ocaml-mirage-crypto-ec
+ ;; FIXME: This package contains generated code (see
+ ;; https://github.com/mirage/mirage-crypto/blob/main/ec/native/README.md).
These
+ ;; should be re-generated during the build process.
+ (package
+ (inherit ocaml-mirage-crypto)
+ (name "ocaml-mirage-crypto-ec")
+ (arguments `(#:package "mirage-crypto-ec"
+ #:test-target "."))
+ (propagated-inputs
+ `(("ocaml-cstruct" ,ocaml-cstruct)
+ ("ocaml-eqaf" ,ocaml-eqaf)
+ ("ocaml-mirage-crypto" ,ocaml-mirage-crypto)
+ ("ocaml-mirage-crypto-rng" ,ocaml-mirage-crypto-rng)
+ ("gmp" ,gmp)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("ocaml-randomconv" ,ocaml-randomconv)
+ ("ocaml-ounit" ,ocaml-ounit)
+ ("ocaml-mirage-crypto-pk" ,ocaml-mirage-crypto-pk)
+ ("ocaml-hex" ,ocaml-hex)
+ ("ocaml-alcotest" ,ocaml-alcotest)
+ ("ocaml-asn1-combinators" ,ocaml-asn1-combinators)
+ ("ocaml-ppx-deriving-yojson" ,ocaml-ppx-deriving-yojson)
+ ("ocaml-ppx-deriving" ,ocaml-ppx-deriving)
+ ("ocaml-yojson" ,ocaml-yojson)))
+ (synopsis "OCaml library providing Elliptic Curve Cryptography")
+ (description "This OCaml library provides an implementation of key exchange
+(ECDH) and digital signature (ECDSA/EdDSA) algorithms. The curves P224
+(SECP224R1), P256 (SECP256R1), P384 (SECP384R1),P521 (SECP521R1), and 25519
+(X25519, Ed25519) are implemented by this package.")
+ ;; See https://github.com/mirage/mirage-crypto/blob/main/ec/LICENSE.md
+ (license license:expat)))
+
(define-public js-of-ocaml
(package
(name "js-of-ocaml")
--
2.32.0
- [bug#49867] [PATCH v2 10/31] gnu: Add ocaml-pprint., (continued)
- [bug#49867] [PATCH v2 10/31] gnu: Add ocaml-pprint., pukkamustard, 2021/08/09
- [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 <=
- [bug#49867] [PATCH v2 19/31] gnu: Add ocaml-asn1-combinators., pukkamustard, 2021/08/09
- [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