From patchwork Tue Jul 9 13:53:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain GARBAGE X-Patchwork-Id: 29076 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 1C66A27BBE2; Tue, 9 Jul 2024 15:11:18 +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 9197B27BBE9 for ; Tue, 9 Jul 2024 15:11:16 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRBXy-0001dR-KW; Tue, 09 Jul 2024 10:10:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRBXr-0001VJ-4U for guix-patches@gnu.org; Tue, 09 Jul 2024 10:10:15 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sRBXq-00070o-R9 for guix-patches@gnu.org; Tue, 09 Jul 2024 10:10:14 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sRBXw-0001Ev-9r for guix-patches@gnu.org; Tue, 09 Jul 2024 10:10:20 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71938] [PATCH v2 12/25] gnu: Add ghc-bimap. Resent-From: Romain GARBAGE Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 09 Jul 2024 14:10:20 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71938 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71938@debbugs.gnu.org Cc: rekado@elephly.net, Romain GARBAGE , 44518@debbugs.gnu.org Received: via spool by 71938-submit@debbugs.gnu.org id=B71938.17205341714307 (code B ref 71938); Tue, 09 Jul 2024 14:10:20 +0000 Received: (at 71938) by debbugs.gnu.org; 9 Jul 2024 14:09:31 +0000 Received: from localhost ([127.0.0.1]:53718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRBX8-00017J-IV for submit@debbugs.gnu.org; Tue, 09 Jul 2024 10:09:30 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:43942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sRBWx-00011E-0Z; Tue, 09 Jul 2024 10:09:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=z1Ax9gw3Sppo1zHbEDcCoPNq1RFnq9GeTg8IeB+3Lbg=; b=AR3fCxtfU9i+I2oorvNHvsBUEs2NqJuKKkAU97uEAroRQ686bhLN+msB +eJFGEIT8NE/xry3t1+uWb9sQyXWw8DY9/G1zn09bGpNUZ3gDif7oqNGD Q3nAi6me1f/0WUnb7WO54+ijHeJFgq2pdxGxC9NY6QByN6OH47PJhH1UY U=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=romain.garbage@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.09,195,1716242400"; d="scan'208";a="91739209" Received: from lfbn-bay-1-62-70.w83-193.abo.wanadoo.fr (HELO guix-A102.home) ([83.193.153.70]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Jul 2024 16:08:38 +0200 From: Romain GARBAGE Date: Tue, 9 Jul 2024 15:53:56 +0200 Message-ID: <20240709140812.6183-13-romain.garbage@inria.fr> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240709140812.6183-1-romain.garbage@inria.fr> References: <20240709140812.6183-1-romain.garbage@inria.fr> 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-bimap): New variable. Change-Id: Ib6ffebff5417273afaa3a08005aae3445606d6d2 --- gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 3bdc8d6d6b..60d25dd4bf 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -972,6 +972,27 @@ (define-public ghc-bifunctors (description "This package provides bifunctors for Haskell.") (license license:bsd-3))) +(define-public ghc-bimap + (package + (name "ghc-bimap") + (version "0.5.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "bimap" version)) + (sha256 + (base32 "158cdwk9jwklcfgbn62dqq255i40w13ifggsdps87sxc5q7lpd5h")))) + (build-system haskell-build-system) + (properties '((upstream-name . "bimap"))) + (native-inputs (list ghc-quickcheck)) + (home-page "https://github.com/joelwilliamson/bimap") + (synopsis "Bidirectional mapping between two key types") + (description + "This package provides a data structure representing a bidirectional mapping +between two key types. Each value in the bimap is associated with exactly one +value of the opposite type.") + (license license:bsd-3))) + (define-public ghc-bindings-dsl (package (name "ghc-bindings-dsl")