From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0OxjOWLk4GHZDwEAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 03:48:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id CNaaNmLk4GFEfwAA9RJhRA (envelope-from ) for ; Fri, 14 Jan 2022 03:48:02 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9ED74379A6 for ; Fri, 14 Jan 2022 03:48:02 +0100 (CET) Received: from localhost ([::1]:43776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8CdF-0004kn-RQ for larch@yhetil.org; Thu, 13 Jan 2022 21:48:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8CcM-0002O9-V3 for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42167) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8CcM-0007mO-Ls for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8CcM-0000Xq-Ln for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50835] [PATCH v2 13/24] gnu: Add ghc-random-shuffle. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 02:47:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50835@debbugs.gnu.org Cc: Stephen Paul Weber , rg@raghavgururajan.name Received: via spool by 50835-submit@debbugs.gnu.org id=B50835.16421283711834 (code B ref 50835); Fri, 14 Jan 2022 02:47:06 +0000 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:11 +0000 Received: from localhost ([127.0.0.1]:35029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbS-0000TP-Iu for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:10 -0500 Received: from singpolyma.net ([192.99.233.116]:44505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbJ-0000Pp-OZ for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:04 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 0E35B4861714; Fri, 14 Jan 2022 02:45:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128360; bh=M1nxVXScYxfz+B9Hzy2jmAIve9s5piK3njMoo5VyFyg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=idwrsKzZMi3Kftck0r6zF7urxV5FX1XzFVeIfSCmlGjutky27pisiUv4C6Zq0ssc/ dFhB7CTkup2c18gBM9FBPkbdnL1w+sp/uoHtF4MyuRWQ27SctptxTgrq7UHsqDk9LB YLrWLvjgw0qIdFe8HCjkpHSp7KOfqsdBrJurYdhQ= From: Stephen Paul Weber Date: Thu, 13 Jan 2022 21:45:35 -0500 Message-Id: <20220114024546.75747-13-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642128482; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=RN3pNJYnrFugpu/9X61eDjPAKegWYWkzTdxQGnzOGWY=; b=W6epusDoxx2L1xJncURq1KcJFEK9tNUBRbMvraLTPvcHVoapk4ONGr893KVxBD1fRNSxGw gms1JQalAq7GAi2gDvmBPjaNwzwIvWegleAoV2DcDilnXuKT/xUaTkSRZ1yiMJDWf9rkli NI5XBUafwB+9CM0ZqEfg4QEmYQfI6X1yiQBd+lZVdRYk1V8bxx3H4qxwUAxYIbRXAKeUWV ehaWP2w8BFgjTXn0aSkmbJ/F3QU8t3giThubMqce5ZrJfed79iRj6x5c/xHr6REJCAxt1e rW6vYKF6DHftttA2U3U9Bsf60JZPZl6CZDysdbWr1dmCxka2WkkByxg1Q0fNMg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642128482; a=rsa-sha256; cv=none; b=n0hbtkT+WfbCQzv0LrUmLYe3yBgNNmvKETtUn9+vRfNuZBUlxn74a158JEu9OVu0EVQcWU CXlF9eKV5R6GJszT+ArnYA6SfmL9tCn2dgt7QWkNx3FFgMvR2g1OsoTYasJIXRVJ+zofL/ PF1BNQf2n+lfrtwF+fd4/HOmwd+dwxGmfF2y+dZUKSjtNrxBlM7XGTdHEHDWCZmEZexvBj 7gCudONlNCRGV1HDWJZBO3rRsisXdFMMA2tKJZOfAwyyQgBs035L031r5Q5HUFUNvMGRjW sMcK2xKM6HV7fu76Q1rhEVE5nKV/+flS+/1mhM+7xb/cyQLC+1QY0Myd86zO0Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=idwrsKzZ; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=idwrsKzZ; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9ED74379A6 X-Spam-Score: -1.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: p9veP6sRTWjT * 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