GNU bug report logs - #50835
[PATCH 0/8] New Haskell packages: cache, redis client, xmpp

Previous Next

Package: guix-patches;

Reported by: Stephen Paul Weber <singpolyma <at> singpolyma.net>

Date: Mon, 27 Sep 2021 02:10:02 UTC

Severity: normal

Tags: patch

Full log


Message #65 received at 50835 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Paul Weber <singpolyma <at> singpolyma.net>
To: 50835 <at> debbugs.gnu.org
Cc: Stephen Paul Weber <singpolyma <at> singpolyma.net>, rg <at> raghavgururajan.name
Subject: [PATCH v2 13/24] gnu: Add ghc-random-shuffle.
Date: Thu, 13 Jan 2022 21:45:35 -0500
* gnu/packages/haskell-xyz.scm (ghc-random-shuffle): New variable.
---
 gnu/packages/haskell-xyz.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 146d5ce2cf..74d6460edf 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16388,3 +16388,23 @@ Does only what it needs to do and nothing more, no XEP wrappers etc.")
     (synopsis "Quick and dirty statsd interface")
     (description "Hstatsd is a statsd interface.")
     (license license:public-domain)))
+
+(define-public ghc-random-shuffle
+  (package
+    (name "ghc-random-shuffle")
+    (version "0.0.4")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (hackage-uri "random-shuffle" version))
+        (sha256
+          (base32 "0586bnlh0g2isc44jbjvafkcl4yw6lp1db8x6vr0pza0y08l8w2j"))))
+    (build-system haskell-build-system)
+    (inputs (list ghc-random ghc-monadrandom))
+    (home-page "http://hackage.haskell.org/package/random-shuffle")
+    (synopsis "Random shuffle implementation")
+    (description
+      "This library is a random shuffle implementation on immutable lists,
+based on `perfect shuffle' implementation by Oleg Kiselyov
+available at http://okmij.org/ftp/Haskell/perfect-shuffle.txt")
+    (license license:bsd-3)))
-- 
2.30.2




This bug report was last modified 3 years and 151 days ago.

Previous Next


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