From patchwork Mon Jul 24 20:23:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52175 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 791C227BBE2; Mon, 24 Jul 2023 21:27:53 +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=ham 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 C16BE27BBEB for ; Mon, 24 Jul 2023 21:27:49 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO29C-0001mT-DJ; Mon, 24 Jul 2023 16:27:15 -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 1qO291-0001jz-U0 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:03 -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 1qO291-00008O-Lz for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO291-00054l-I5 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 04/12] gnu: Add ghc-data-array-byte. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:03 +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.169023038319367 (code B ref 64840); Mon, 24 Jul 2023 20:27:03 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:23 +0000 Received: from localhost ([127.0.0.1]:44207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28M-000526-Mm for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:23 -0400 Received: from mx1.riseup.net ([198.252.153.129]:46776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28J-00051F-Rv for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:21 -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) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4R8sBG2fXtzDqLB for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230374; bh=jz7WzErOUu+SaNramS8Pv2CVBfiwWDfzWrLmUDhGjxI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ZELDO1oBc+CX91PWZDqMUJeV7lTBGlV3/TR6ktFMCaQG/GsBQhuuQJLJ9Ho51BjIK EG7ja5rLC9C8SJaXGZbMuJsElYegi62TrGuCh/vWSYN73LticUaOMYHKsvk9NQqGX0 yPdVe5ih3xGtOsSeJ6AfZUqj7onK1JUdU0uv1eNw= X-Riseup-User-ID: 09C6A741B334C0D6AC93C9774275BEDB3F4334BF6EEB3178E4645CF7DE2F579A Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sBF4hKczJntF; Mon, 24 Jul 2023 20:26:13 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:06 -0500 Message-ID: <20230724202532.8993-4-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-data-array-byte): New variable. --- gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 71df4192dc..4be7bd970c 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2022 jgart ;;; Copyright © 2023 Josselin Poiret ;;; Copyright © 2023 zamfofex +;;; Copyright © 2023 Camilo Q.S. (Distopico) ;;; ;;; This file is part of GNU Guix. ;;; @@ -2612,6 +2613,28 @@ (define-public ghc-csv lingua franca for spreadsheets, and for certain web services.") (license license:expat))) +(define-public ghc-data-array-byte + (package + (name "ghc-data-array-byte") + (version "0.1.0.1") + (source (origin + (method url-fetch) + (uri (hackage-uri "data-array-byte" version)) + (sha256 + (base32 + "002n0af7q08q3fmgsc5b47s1clirxy0lrqglwxzhabg0nfhfrdhv")))) + (build-system haskell-build-system) + (properties '((upstream-name . "data-array-byte"))) + (native-inputs (list ghc-tasty ghc-tasty-quickcheck + ghc-quickcheck-classes-base)) + (home-page "https://hackage.haskell.org/package/data-array-byte") + (synopsis "Haskell compatibility layer for Data.Array.Byte") + (description + "This package provides Haskell compatibility layer for @code{Data.Array.Byte}, +providing boxed wrappers for @code{ByteArray} and @code{MutableByteArray} and relevant +instances for GHC < 9.4.") + (license license:bsd-3))) + (define-public ghc-data-accessor (package (name "ghc-data-accessor")