unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: pukkamustard <pukkamustard@posteo.net>
To: 57298@debbugs.gnu.org
Cc: pukkamustard <pukkamustard@posteo.net>
Subject: [bug#57298] [PATCH 5/5] gnu: Add ocaml-digestif.
Date: Fri, 19 Aug 2022 15:24:32 +0000	[thread overview]
Message-ID: <20220819152432.26135-5-pukkamustard@posteo.net> (raw)
In-Reply-To: <20220819152432.26135-1-pukkamustard@posteo.net>

* gnu/packages/ocaml.scm (ocaml-digestif): New variable.
---
 gnu/packages/ocaml.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index f078241c10..6dde939ad7 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -8663,6 +8663,39 @@ (define-public ocaml-eqaf
 constant-time to avoid timing-attack with crypto stuff.")
     (license license:expat)))
 
+(define-public ocaml-digestif
+  (package
+    (name "ocaml-digestif")
+    (version "1.1.2")
+    (home-page "https://github.com/mirage/digestif")
+    (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
+         "0mc233d63y04jznsn3bxncgv7fkvyngbv6hcka412iq0y3x4qsmq"))))
+    (build-system dune-build-system)
+    (propagated-inputs (list ocaml-eqaf))
+    (native-inputs
+     (list pkg-config
+           ocaml-fmt
+           ocaml-alcotest
+           ocaml-bos
+           ocaml-astring
+           ocaml-fpath
+           ocaml-rresult
+           ocaml-findlib))
+    (synopsis "Simple hash algorithms in OCaml")
+    (description
+     "Digestif is an OCaml library that provides implementations of hash
+algorithms.  Implemented hash algorithms include MD5, SHA1, SHA224, SHA256,
+SHA384, SHA512, Blake2b, Blake2s and RIPEMD160.")
+    (license license:expat)))
+
 (define-public ocaml-bibtex2html
   (package
     (name "ocaml-bibtex2html")
-- 
2.37.1





  parent reply	other threads:[~2022-08-19 15:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-19 15:21 [bug#57298] [PATCH 0/5] gnu: Add ocaml-digestif. (and dependencies) pukkamustard
2022-08-19 15:24 ` [bug#57298] [PATCH 1/5] gnu: Add ocaml-afl-persistent pukkamustard
2022-08-19 15:24   ` [bug#57298] [PATCH 2/5] gnu: Add ocaml-pprint pukkamustard
2022-08-20 12:03     ` Julien Lepiller
2022-08-22  9:43       ` pukkamustard
2022-08-19 15:24   ` [bug#57298] [PATCH 3/5] gnu: Add ocaml-crowbar pukkamustard
2022-08-20 12:05     ` Julien Lepiller
2022-08-22  9:45       ` pukkamustard
2022-08-19 15:24   ` [bug#57298] [PATCH 4/5] gnu: Add ocaml-eqaf pukkamustard
2022-08-19 15:24   ` pukkamustard [this message]
2022-08-22  9:54 ` [bug#57298] [PATCH v2 1/5] gnu: Add ocaml-afl-persistent pukkamustard
2022-08-22  9:54   ` [bug#57298] [PATCH v2 2/5] gnu: Add ocaml-pprint pukkamustard
2022-08-22  9:54   ` [bug#57298] [PATCH v2 3/5] gnu: Add ocaml-crowbar pukkamustard
2022-08-22  9:54   ` [bug#57298] [PATCH v2 4/5] gnu: Add ocaml-eqaf pukkamustard
2022-08-22  9:54   ` [bug#57298] [PATCH v2 5/5] gnu: Add ocaml-digestif pukkamustard
2022-08-24 16:25     ` bug#57298: " Julien Lepiller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220819152432.26135-5-pukkamustard@posteo.net \
    --to=pukkamustard@posteo.net \
    --cc=57298@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).