From patchwork Thu Jun 3 15:58:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xinglu Chen X-Patchwork-Id: 29870 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 61A8A27BC81; Thu, 3 Jun 2021 16:59:24 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C6C5A27BC84 for ; Thu, 3 Jun 2021 16:59:23 +0100 (BST) Received: from localhost ([::1]:49696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lopkg-0007yO-T0 for patchwork@mira.cbaines.net; Thu, 03 Jun 2021 11:59:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lopkN-0007Mw-Px for guix-patches@gnu.org; Thu, 03 Jun 2021 11:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33040) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lopkN-0006fL-Ij for guix-patches@gnu.org; Thu, 03 Jun 2021 11:59:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lopkN-0001xA-IJ for guix-patches@gnu.org; Thu, 03 Jun 2021 11:59:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48813] [PATCH 5/8] gnu: Add ghc-deque. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 03 Jun 2021 15:59:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48813 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48813@debbugs.gnu.org Received: via spool by 48813-submit@debbugs.gnu.org id=B48813.16227359107421 (code B ref 48813); Thu, 03 Jun 2021 15:59:03 +0000 Received: (at 48813) by debbugs.gnu.org; 3 Jun 2021 15:58:30 +0000 Received: from localhost ([127.0.0.1]:44574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lopjb-0001uz-UI for submit@debbugs.gnu.org; Thu, 03 Jun 2021 11:58:30 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:53384 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lopja-0001u0-5P for 48813@debbugs.gnu.org; Thu, 03 Jun 2021 11:58:14 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1622735888; bh=nEpRyqgrxl1SYNXVS8kjey7+DOEB7yFsJZ7tij/yU1o=; h=From:To:Subject:In-Reply-To:References:Date; b=T5PeIASpOVrDhWYuIXuCLeIOWOk/nA21WsKYb8QN4czWvaCpXF2UxXmfjhnauHQJe P5+pdI5uf5sAEB0eCAatS/78reMwAScS2RSStxJnt5kRt0kBv8mfF0wWR0rNlcX7vU IC6R69NwdTOWI+VAZ3lqCqsF6KDsK8bWZUogU0rU= In-Reply-To: References: Message-Id: <5a0fa813220d54ec7f6d937f1c31b3eb71e1d18b.1622735640.git.public@yoctocell.xyz> Date: Thu, 03 Jun 2021 17:58:07 +0200 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-deque): New variable. --- gnu/packages/haskell-xyz.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index a77d13f822..c2c6432adb 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -3214,6 +3214,40 @@ providing an @code{rnf} implementation.") related modules split from the statistics library.") (license license:bsd-2))) +(define-public ghc-deque + (package + (name "ghc-deque") + (version "0.4.3") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/deque/deque-" + version + ".tar.gz")) + (sha256 + (base32 + "19apwmcykprz3a91wszmc1w3qcz4x3rq79gmik514fszi9yhwsmp")))) + (build-system haskell-build-system) + (inputs + `(("ghc-hashable" ,ghc-hashable) + ("ghc-strict-list" ,ghc-strict-list))) + (native-inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-quickcheck-instances" + ,ghc-quickcheck-instances) + ("ghc-rerebase" ,ghc-rerebase) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (home-page + "https://github.com/nikita-volkov/deque") + (synopsis "Double-ended queues") + (description + "This package provides strict and lazy implementations of Double-Ended +Queue (aka Dequeue or Deque) based on head-tail linked list.") + (license license:expat))) + (define-public ghc-descriptive (package (name "ghc-descriptive")