[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49867] [PATCH v2 13/31] gnu: Add ocaml-mirage-crypto.
From: |
pukkamustard |
Subject: |
[bug#49867] [PATCH v2 13/31] gnu: Add ocaml-mirage-crypto. |
Date: |
Mon, 9 Aug 2021 07:01:06 +0000 |
* gnu/packages/ocaml.scm (ocaml-mirage-crypto): New variable.
---
gnu/packages/ocaml.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 7101cc6c2f..c6cdd3a318 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -7592,6 +7592,37 @@ property-based testing and the magical bug-finding
powers of
constant-time to avoid timing-attack with crypto stuff.")
(license license:expat)))
+(define-public ocaml-mirage-crypto
+ (package
+ (name "ocaml-mirage-crypto")
+ (version "0.10.3")
+ (home-page "https://github.com/mirage/mirage-crypto")
+ (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
+ "0j7x07c8xy8bmqp9ad1cib6j69dy7acjg9m1d7pn0dnmbkrl8fiz"))))
+ (build-system dune-build-system)
+ (arguments `(#:package "mirage-crypto"
+ #:test-target "."))
+ (propagated-inputs
+ `(("ocaml-cstruct" ,ocaml-cstruct)
+ ("ocaml-eqaf" ,ocaml-eqaf)
+ ("ocaml-bigarray-compat" ,ocaml-bigarray-compat)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("ocaml-ounit" ,ocaml-ounit)))
+ (synopsis "OCaml library provding cryptographic primitives")
+ (description "This OCaml library provides symmetric ciphers (DES, AES,
+RC4, ChaCha20/Poly1305), and hashes (MD5, SHA-1, SHA-2). This library can be
+used from MirageOS unikernels.")
+ (license license:isc)))
+
(define-public js-of-ocaml
(package
(name "js-of-ocaml")
--
2.32.0
- [bug#49867] [PATCH 00/29] gnu: Add ocaml-cohttp-lwt-unix., (continued)
- [bug#49867] [PATCH 00/29] gnu: Add ocaml-cohttp-lwt-unix., Xinglu Chen, 2021/08/05
- [bug#49867] [PATCH 00/29] gnu: Add ocaml-cohttp-lwt-unix., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 01/31] gnu: Add ocaml-cohttp-lwt., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 03/31] gnu: Add ocaml-macaddr., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 05/31] gnu: Add ocaml-ipaddr-cstruct., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 04/31] gnu: Add ocaml-ipaddr., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 02/31] gnu: Add ocaml-domain-name., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 06/31] gnu: Add ocaml-ipaddr-sexp., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 13/31] gnu: Add ocaml-mirage-crypto.,
pukkamustard <=
- [bug#49867] [PATCH v2 13/31] gnu: Add ocaml-mirage-crypto., Julien Lepiller, 2021/08/21
- [bug#49867] [PATCH v2 13/31] gnu: Add ocaml-mirage-crypto., pukkamustard, 2021/08/23
- [bug#49867] [PATCH v2 13/31] gnu: Add ocaml-mirage-crypto., pukkamustard, 2021/08/23
- [bug#49867] [PATCH v2 07/31] gnu: Add ocaml-conduit., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 08/31] gnu: Add ocaml-conduit-lwt., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 14/31] gnu: Add ocaml-duration., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 09/31] gnu: Add ocaml-afl-persistent., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 17/31] gnu: Add ocaml-mirage-crypto-pk., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 12/31] gnu: Add ocaml-eqaf., pukkamustard, 2021/08/09
- [bug#49867] [PATCH v2 10/31] gnu: Add ocaml-pprint., pukkamustard, 2021/08/09