From patchwork Mon Apr 18 18:09:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Albers Raviola X-Patchwork-Id: 38659 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0F6DE27BBEA; Mon, 18 Apr 2022 19:11:35 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C938027BBE9 for ; Mon, 18 Apr 2022 19:11:34 +0100 (BST) Received: from localhost ([::1]:51766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngVqX-0001YN-Vm for patchwork@mira.cbaines.net; Mon, 18 Apr 2022 14:11:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngVqA-0000s9-Qz for guix-patches@gnu.org; Mon, 18 Apr 2022 14:11:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngVq6-0002s7-Ay for guix-patches@gnu.org; Mon, 18 Apr 2022 14:11:08 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngVq6-0006K1-69 for guix-patches@gnu.org; Mon, 18 Apr 2022 14:11:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55005] [PATCH 12/13] gnu: Add ghc-deque Resent-From: Thomas Albers Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Apr 2022 18:11:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55005 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55005@debbugs.gnu.org Cc: Thomas Albers Received: via spool by 55005-submit@debbugs.gnu.org id=B55005.165030545324187 (code B ref 55005); Mon, 18 Apr 2022 18:11:06 +0000 Received: (at 55005) by debbugs.gnu.org; 18 Apr 2022 18:10:53 +0000 Received: from localhost ([127.0.0.1]:40713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngVpt-0006Hy-2H for submit@debbugs.gnu.org; Mon, 18 Apr 2022 14:10:53 -0400 Received: from gamma.thomaslabs.org ([38.242.253.186]:53656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngVpp-0006GZ-78 for 55005@debbugs.gnu.org; Mon, 18 Apr 2022 14:10:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=default; t=1650305445; bh=Q3tRAYBSzhYD4dEm654V52zBENBAu29XPvXj/ZytAB4=; h=references: in-reply-to:date:subject:cc:to:from; d=thomaslabs.org; b=PPM3IGVCUfBvR PHPGcY07Dit2kbVCAiR2wrTOC0lwkdLN0+G9GpeIv2IFzFOwwH3gMHV9Yx4IAzmDrrDyJP Sv3muHjKenkqApIRJdo087b0iRqWTwGxVNoCy4+pB4/VEnT72BnvScn4f8XYj5sqz7Y7tz epVSonXD4UKps4h2XZMUTCdJ7zq6Mjzq/rQISLNoThtH318knkCil6UhNPwfRhtkCJUIUP 1bTq+V0xmaG60/D5G8h2nrMK3uqK7loZimKMYFiew/zmNDpYAX474oVtWPwe3XwVPMOj9S g8CRyf9QW6ohPuAQmLKS6rLX0EkhmCm/Yv2s0eWm3u28u4/xw== Received: from alpha.fritz.box (ip1f13c149.dynamic.kabel-deutschland.de [31.19.193.73]) by gamma.thomaslabs.org (OpenSMTPD) with ESMTPSA id 6ceb8c49 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 18 Apr 2022 18:10:45 +0000 (UTC) Date: Mon, 18 Apr 2022 20:09:56 +0200 Message-Id: <20220418180957.19545-12-thomas@thomaslabs.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220418180957.19545-1-thomas@thomaslabs.org> References: <20220418180957.19545-1-thomas@thomaslabs.org> MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Thomas Albers X-ACL-Warn: , Thomas Albers via Guix-patches X-Patchwork-Original-From: Thomas Albers via Guix-patches via From: Thomas Albers Raviola X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/haskell-xyz.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index cd6de908c6..2b8ea5c8e8 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16369,3 +16369,30 @@ (define-public ghc-strict-list (description "Implementation of strict linked list with care taken about stack.") (license license:expat))) + +(define-public ghc-deque + (package + (name "ghc-deque") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (hackage-uri "deque" version)) + (sha256 + (base32 "1x0rjdqgf4kwgpyisx618waz6r9gki3ivav9m4biysyc04hdhinn")))) + (build-system haskell-build-system) + (outputs '("out" "static")) + (inputs (list ghc-hashable ghc-strict-list)) + (native-inputs + (list ghc-quickcheck + ghc-quickcheck-instances + ghc-rerebase + ghc-tasty + ghc-tasty-hunit + ghc-tasty-quickcheck)) + (home-page "https://github.com/nikita-volkov/deque") + (synopsis "Double-ended queues") + (description + "Strict and lazy implementations of Double-Ended Queue based on head-tail +linked list.") + (license license:expat)))