* [PATCH 11/24] gnu: Add ghc-tf-random.
@ 2015-04-06 16:45 Federico Beffa
2015-04-08 8:07 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Federico Beffa @ 2015-04-06 16:45 UTC (permalink / raw)
To: Guix-devel
[-- Attachment #1: Type: text/plain, Size: 5 bytes --]
Fede
[-- Attachment #2: 0011-gnu-Add-ghc-tf-random.patch --]
[-- Type: text/x-diff, Size: 1830 bytes --]
From 83ec028ffe7985f9e092c6648a603c596350e826 Mon Sep 17 00:00:00 2001
From: Federico Beffa <beffa@fbengineering.ch>
Date: Fri, 27 Mar 2015 17:29:42 +0100
Subject: [PATCH 11/24] gnu: Add ghc-tf-random.
* gnu/packages/haskell.scm (ghc-tf-random): New variable.
---
gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 947a574..34f098f 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -479,4 +479,31 @@ library, including the ability to split random number generators.")
"This package provides various primitive memory-related operations.")
(license bsd-3)))
+(define-public ghc-tf-random
+ (package
+ (name "ghc-tf-random")
+ (version "0.5")
+ (outputs '("out" "doc"))
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/tf-random/tf-random-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32 "0445r2nns6009fmq0xbfpyv7jpzwv0snccjdg7hwj4xk4z0cwc1f"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-primitive" ,ghc-primitive)
+ ("ghc-random" ,ghc-random)))
+ (home-page "http://hackage.haskell.org/package/tf-random")
+ (synopsis "High-quality splittable pseudorandom number generator")
+ (description "This package contains an implementation of a high-quality
+splittable pseudorandom number generator. The generator is based on a
+cryptographic hash function built on top of the ThreeFish block cipher. See
+the paper /Splittable Pseudorandom Number Generators Using Cryptographic
+Hashing/ by Claessen, Pałka for details and the rationale of the design.")
+ (license bsd-3)))
+
;;; haskell.scm ends here
--
2.2.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 11/24] gnu: Add ghc-tf-random.
2015-04-06 16:45 [PATCH 11/24] gnu: Add ghc-tf-random Federico Beffa
@ 2015-04-08 8:07 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2015-04-08 8:07 UTC (permalink / raw)
To: Federico Beffa; +Cc: Guix-devel
Federico Beffa <beffa@ieee.org> skribis:
> From 83ec028ffe7985f9e092c6648a603c596350e826 Mon Sep 17 00:00:00 2001
> From: Federico Beffa <beffa@fbengineering.ch>
> Date: Fri, 27 Mar 2015 17:29:42 +0100
> Subject: [PATCH 11/24] gnu: Add ghc-tf-random.
>
> * gnu/packages/haskell.scm (ghc-tf-random): New variable.
OK.
> +the paper /Splittable Pseudorandom Number Generators Using Cryptographic
> +Hashing/ by Claessen, Pałka for details and the rationale of the design.")
Use double quotes rather than slashes for the title.
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-08 8:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-06 16:45 [PATCH 11/24] gnu: Add ghc-tf-random Federico Beffa
2015-04-08 8:07 ` Ludovic Courtès
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).