From patchwork Mon Jul 24 20:23:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52172 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 59A7A27BBE9; Mon, 24 Jul 2023 21:27:43 +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 1DFFD27BBE2 for ; Mon, 24 Jul 2023 21:27:42 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO29F-0001nU-DF; Mon, 24 Jul 2023 16:27:17 -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 1qO294-0001kk-65 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:06 -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 1qO293-00008z-Rq for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO293-00055T-O2 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 10/12] gnu: Add ghc-bimap. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023039219444 (code B ref 64840); Mon, 24 Jul 2023 20:27:05 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:32 +0000 Received: from localhost ([127.0.0.1]:44225 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28W-00053S-Ax for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:32 -0400 Received: from mx0.riseup.net ([198.252.153.6]:48076) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28P-00051k-Cp for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:25 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4R8sBN0X6Sz9tGy for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230380; bh=A75npc6NpLMfFJwCgKjQGi/41C5PHfZqy2Exg/IcR8I=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WQtxx3NYJwMnDAcGbZSQp08Q92++clmJjHNOQts1V+IIPaTw84hqio1Xm9xIMtRMQ dIndO9uChN5CVhDpk7Fr0PmbF+gyVYZG7ZOIbiKlzVjVXkvxeyziSzAloZUt+aq6XB Sk0MPnjkx1/kzia6ihx8z+RhxVjjJWITxZp+8kDo= X-Riseup-User-ID: 831E306A845EC31924265C4C2CADD7C4607A8E86ABF2AA827725BF5C103C13BF Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sBM2pl6zJntF; Mon, 24 Jul 2023 20:26:19 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:12 -0500 Message-ID: <20230724202532.8993-10-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.net> 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. --- 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 e3c5d525b1..337dcac4d8 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -936,6 +936,27 @@ (define-public ghc-bencode storing and transmitting loosely structured data.") (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://hackage.haskell.org/package/bimap") + (synopsis "Bidirectional mapping between two key types for Haskell") + (description + "This pckage provides 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-bifunctors (package (name "ghc-bifunctors")