[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49867] [PATCH v2 26/31] gnu: Add ocaml-x509.
From: |
pukkamustard |
Subject: |
[bug#49867] [PATCH v2 26/31] gnu: Add ocaml-x509. |
Date: |
Mon, 9 Aug 2021 07:01:19 +0000 |
* gnu/packages/ocaml.scm (ocaml-x509): New variable.
---
gnu/packages/ocaml.scm | 46 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index e358042e41..b7bdc8c711 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -7956,6 +7956,52 @@ to create a type-safe heterogenous maps.")
2 as defined by PKCS#5 using @code{ocaml-mirage-crypto}.")
(license license:bsd-2)))
+(define-public ocaml-x509
+ (package
+ (name "ocaml-x509")
+ (version "0.14.0")
+ (home-page "https://github.com/mirleft/ocaml-x509")
+ (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
+ "0b51vzyxxkhwgx12dg55clb1lb971cxlmsk4wlxzs5h115j5hcy7"))))
+ (build-system dune-build-system)
+ (arguments `(#:test-target "."))
+ (propagated-inputs
+ `(("ocaml-cstruct" ,ocaml-cstruct)
+ ("ocaml-asn1-combinators" ,ocaml-asn1-combinators)
+ ("ocaml-ptime" ,ocaml-ptime)
+ ("ocaml-base64" ,ocaml-base64)
+ ("ocaml-mirage-crypto" ,ocaml-mirage-crypto)
+ ("ocaml-mirage-crypto-pk" ,ocaml-mirage-crypto-pk)
+ ("ocaml-mirage-crypto-ec" ,ocaml-mirage-crypto-ec)
+ ("ocaml-mirage-crypto-rng" ,ocaml-mirage-crypto-rng)
+ ("ocaml-rresult" ,ocaml-rresult)
+ ("ocaml-fmt" ,ocaml-fmt)
+ ("ocaml-gmap" ,ocaml-gmap)
+ ("ocaml-domain-name" ,ocaml-domain-name)
+ ("ocaml-logs" ,ocaml-logs)
+ ("ocaml-pbkdf" ,ocaml-pbkdf)))
+ (native-inputs
+ `(("ocaml-alcotest" ,ocaml-alcotest)
+ ("ocaml-cstruct-unix" ,ocaml-cstruct-unix)))
+ (synopsis "Public Key Infrastructure (RFC 5280, PKCS) purely in OCaml")
+(description "X.509 is a public key infrastructure used mostly on the
+Internet. It consists of certificates which include public keys and
+identifiers, signed by an authority. Authorities must be exchanged over a
+second channel to establish the trust relationship. This OCaml library
+implements most parts of RFC5280 and RFC6125. The Public Key Cryptography
+Standards (PKCS) defines encoding and decoding (in ASN.1 DER and PEM format),
+which is also implemented by this library --- namely PKCS 1, PKCS 5, PKCS 7,
+PKCS 8, PKCS 9, PKCS 10, and PKCS 12.")
+ (license license:bsd-2)))
+
(define-public js-of-ocaml
(package
(name "js-of-ocaml")
--
2.32.0
- [bug#49867] [PATCH v2 11/31] gnu: Add ocaml-crowbar., (continued)
- [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, 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 <=
- [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
- [bug#49867] [PATCH v2 23/31] gnu: Add ocaml-gmap., pukkamustard, 2021/08/09
- [bug#49867] [PATCH 00/29] gnu: Add ocaml-cohttp-lwt-unix., Xinglu Chen, 2021/08/09