GNU bug report logs -
#52959
[PATCH] Add ghc-cryptohash-sha512
Previous Next
To reply to this bug, email your comments to 52959 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#52959
; Package
guix-patches
.
(Sun, 02 Jan 2022 17:01:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
N0lim <0s7n888884 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 02 Jan 2022 17:01:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
I want to add a Haskell development package
(define-module (n0lim ghc-cryptohash-sha512)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (gnu packages haskell-xyz)
#:use-module (gnu packages haskell-crypto)
#:use-module (gnu packages haskell-check)
#:use-module (guix build-system haskell)
#:use-module ((guix licenses) #:prefix license:))
(define-public ghc-cryptohash-sha512
(package
(name "ghc-cryptohash-sha512")
(version "0.11.101.0")
(source
(origin
(method url-fetch)
(uri (hackage-uri "cryptohash-sha512" version))
(sha256
(base32 "0a6sc5b6w0k47fyjhyrfm3p25jsbsqjknfq5mbj53p2p1qsfykc1"))))
(build-system haskell-build-system)
(native-inputs
(list ghc-base16-bytestring
ghc-sha
ghc-tasty
ghc-tasty-quickcheck
ghc-tasty-hunit))
(home-page "https://github.com/haskell-hvr/cryptohash-sha512")
(synopsis "Fast, pure and practical SHA-512 implementation")
(description
"This package provides a practical incremental and one-pass,
pure API to the SHA-512 hash algorithm (including HMAC support) 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. NOTE: This package has been forked
off cryptohash-0.11.7 because the cryptohash package has been
deprecated and so this package continues to satisfy the need for a
lightweight package providing the SHA512 hash algorithm without any
dependencies on packages other than base and bytestring. Consequently,
this package can be used as a drop-in replacement for cryptohash's
\"Crypto.Hash.SHA512\" module, though with a clearly smaller
footprint.")
(license license:bsd-3)))
[Message part 2 (text/html, inline)]
[ghc-cryptohash-sha512.scm (text/x-scheme, attachment)]
Set bug title to '[PATCH] Add ghc-cryptohash-sha512'.
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 05 Jan 2022 19:09:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52959
; Package
guix-patches
.
(Wed, 05 Jan 2022 19:11:01 GMT)
Full text and
rfc822 format available.
Message #10 received at 52959 <at> debbugs.gnu.org (full text, mbox):
Hi N0lim,
N0lim <0s7n888884 <at> gmail.com> skribis:
> I want to add a Haskell development package
Nice.
Could you turn it into a patch for Guix proper? Please take a look at
<https://guix.gnu.org/manual/devel/en/html_node/Submitting-Patches.html>
and do ask here or on #guix on IRC if anything’s unclear.
In particular:
> (define-module (n0lim ghc-cryptohash-sha512)
… packages in Guix are in the (gnu packages …) name space. You’ll find
that one of the gnu/packages/haskell*.scm files is probably suitable for
this package.
Thanks in advance!
Ludo’.
Added tag(s) moreinfo.
Request was from
Ludovic Courtès <ludo <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 05 Jan 2022 19:11:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.