GNU bug report logs - #69160
[PATCH v2 17/23] gnu: Add ghc-cryptohash-sha256-bootstrap-for-9.6

Previous Next

Package: guix-patches;

Reported by: Saku Laesvuori <saku <at> laesvuori.fi>

Date: Thu, 15 Feb 2024 12:24:34 UTC

Severity: normal

Tags: patch

Merged with 69142, 69143, 69144, 69145, 69146, 69147, 69148, 69149, 69150, 69151, 69152, 69153, 69154, 69155, 69156, 69157, 69158, 69159, 69161, 69162, 69163, 69164, 69165

Done: Saku Laesvuori <saku <at> laesvuori.fi>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Saku Laesvuori <saku <at> laesvuori.fi>
To: 69160 <at> debbugs.gnu.org, 67921 <at> debbugs.gnu.org
Cc: Saku Laesvuori <saku <at> laesvuori.fi>, Lars-Dominik Braun <lars <at> 6xq.net>
Subject: [bug#69160] [PATCH v2 17/23] gnu: Add ghc-cryptohash-sha256-bootstrap-for-9.6
Date: Thu, 15 Feb 2024 10:49:58 +0200
* gnu/packages/haskell.scm (ghc-cryptohash-sha256-bootstrap-for-9.6):
  New variable.

Change-Id: I80dd73de554160f4dc904c01ea292a886f51e970
---
 gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 348a67f1c5..d163331b2b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1533,6 +1533,35 @@ (define ghc-js-flot-bootstrap-for-9.6
 requirements of downstream users (e.g. Debian).")
     (license license:expat)))
 
+(define ghc-cryptohash-sha256-bootstrap-for-9.6
+  (package
+    (name "ghc-cryptohash-sha256-bootstrap")
+    (version "0.11.102.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "cryptohash-sha256" version))
+       (sha256
+        (base32
+         "1xkb7iqplbw4fy1122p79xf1zcb7k44rl0wmfj1q06l7cdqxr9vk"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "cryptohash-sha256")))
+    (arguments
+     `(#:cabal-revision
+       ("1" "1hyzqv30rpj920ddnr0zypyjjlh52vyp2d140pn2byayj820rkgs")
+       #:haskell ,ghc-bootstrap-for-9.6
+       #:tests? #f))
+    (home-page "https://github.com/hvr/cryptohash-sha1")
+    (synopsis "SHA-256 implementation for Haskell")
+    (description "This Haskell package provides an incremental and
+one-pass, pure API to the @uref{https://en.wikipedia.org/wiki/SHA-2,
+SHA-256 cryptographic hash algorithm}, with performance close to the
+fastest implementations available in other languages.
+
+The implementation is made in C with a haskell FFI wrapper that hides
+the C implementation.")
+    (license license:bsd-3)))
+
 (define ghc-base16-bytestring-bootstrap-for-9.6
   (package
     (name "ghc-base16-bytestring-bootstrap")
-- 
2.41.0





This bug report was last modified 1 year and 99 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.