[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: Add ocaml-sha.
From: |
guix-commits |
Subject: |
03/07: gnu: Add ocaml-sha. |
Date: |
Wed, 3 Aug 2022 02:23:48 -0400 (EDT) |
iyzsong pushed a commit to branch master
in repository guix.
commit c99487c2356e6385425cd891db82810d333fa096
Author: John Kehayias <john.kehayias@protonmail.com>
AuthorDate: Wed Jul 27 23:31:57 2022 -0400
gnu: Add ocaml-sha.
* gnu/packages/ocaml.scm (ocaml-sha): New variable.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index da7086ab2b..8620d2bde3 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5930,6 +5930,28 @@ storage of large amounts of data.")
(description "Octavius is a library to parse the `ocamldoc` comment
syntax.")
(license license:isc)))
+(define-public ocaml-sha
+ (package
+ (name "ocaml-sha")
+ (version "1.15.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://github.com/djs55/ocaml-sha/releases/download/"
+ version "/sha-" version ".tbz"))
+ (sha256
+ (base32
+ "1dzzhchknnbrpp5s81iqbvmqp4s0l75yrq8snj70ch3wkarmgg9z"))))
+ (build-system dune-build-system)
+ (propagated-inputs (list ocaml-stdlib-shims ocaml-odoc))
+ (native-inputs (list ocaml-ounit2))
+ (home-page "https://github.com/djs55/ocaml-sha")
+ (synopsis "OCaml binding to the SHA cryptographic functions")
+ (description
+ "This is the binding for SHA interface code in OCaml, offering the same
+interface as the MD5 digest included in the OCaml standard library. It
+currently provides SHA1, SHA256 and SHA512 hash functions.")
+ (license license:isc)))
+
(define-public ocaml-ppx-hash
(package
(name "ocaml-ppx-hash")
- branch master updated (94f801a426 -> e2ad0b0f8b), guix-commits, 2022/08/03
- 01/07: gnu: Add ocaml-luv., guix-commits, 2022/08/03
- 04/07: gnu: Add ocaml-xml-light., guix-commits, 2022/08/03
- 03/07: gnu: Add ocaml-sha.,
guix-commits <=
- 02/07: gnu: Add ocaml-ptmap., guix-commits, 2022/08/03
- 05/07: gnu: Add mikktspace., guix-commits, 2022/08/03
- 06/07: gnu: Add minimp3., guix-commits, 2022/08/03
- 07/07: gnu: nsis: Update to 3.08., guix-commits, 2022/08/03