From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iAGdEGvk4GEREwEAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 03:48:11 +0100 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SMpNCWvk4GExfQAAG6o9tA (envelope-from ) for ; Fri, 14 Jan 2022 03:48:11 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx2.migadu.com (Postfix) with ESMTPS id E3C06290E1 for ; Fri, 14 Jan 2022 03:48:10 +0100 (CET) Received: from localhost ([::1]:44422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8CdO-0005BV-2H for larch@yhetil.org; Thu, 13 Jan 2022 21:48:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50026) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8CcP-0002Um-1F for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:09 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42172) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8CcO-0007nT-NC for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:08 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8CcO-0000YS-Nd for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:08 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50835] [PATCH v2 19/24] gnu: Add ghc-base32-z-bytestring. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 02:47:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50835@debbugs.gnu.org Cc: Stephen Paul Weber , rg@raghavgururajan.name Received: via spool by 50835-submit@debbugs.gnu.org id=B50835.16421283721871 (code B ref 50835); Fri, 14 Jan 2022 02:47:08 +0000 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:12 +0000 Received: from localhost ([127.0.0.1]:35039 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbU-0000U1-2s for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:12 -0500 Received: from singpolyma.net ([192.99.233.116]:46507) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbK-0000QA-77 for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:05 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id E23C3486171A; Fri, 14 Jan 2022 02:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128360; bh=wRpq5WjH8X6VC7p78pL6N/saRC/LV16USCNVofu1hXA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uaO8055t3jwdUZNemLioDATfL/N6zc0NkPjG9SnkhAAFRL9pPiIte0LJbKYD/LgqO WZ5jg9VDrvPA7qVYpptC7dhgrbSgVLEBVDaDsvIH5YzwIGxpYEQpD2uWU2ulsIv0WL RPwUoDeai7WYaPmcbrtDHTSgmzVk7CmvlcvqCa4w= From: Stephen Paul Weber Date: Thu, 13 Jan 2022 21:45:41 -0500 Message-Id: <20220114024546.75747-19-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642128490; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=c7+ERn9QySVelt8ZRf185dp871C6Owtrbl7+3l9GH9w=; b=M97rWilZjmUdHnb7oA4mJwv6rPoWMohgcP886tHE/KN45bUmg5HP4Nlc59A4+ap4nKo1cQ BgEbfS+XYr3RU1P0DU90Cej0De30UmnGD2nTSMJMyleTtc6wqW/jyHjM4UcNvxLk9EnJSr 5W5VRsodH5mvi+8x5X1RNqbsse0AFd3lQ3ToSciSOu9Oqf7tYYObEg1MlC+R/g7hfSRF9Y aipxjXrph6K6qp/m7p3rTa9geZ09SsXz4pIL4mcYj0uOeg8ywQ+BPKduoCZXwklpgGSPMr Gax26Bz8A2n/w2TIh0qD0UJdeJO/ne+54IDu1nClgh1rWOdX79pVsdOZh2cmyw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642128490; a=rsa-sha256; cv=none; b=bDehlIxBQ+pCKV19PwRfWMQ/UjSO8mzW1CrgzJr1MbOlca4mYYQgRPD5H2zw0aoOZK/Qwq r8YWOU/v0bsAS6lbGyxiz5guqYlf5nahxzf0t/c1RIROQ/JwTBKHLGwuakY2lmEvciaWAy hYUcD19fbueFwlwkGAQb1dKFE78sRZ3htQHD9XPq2iXgCXppE7Wh+CisxBWIL+YclOkPwn 1VjaUrUPs949wO+ErBq7+5MaRfpti6AcoYQe+3prWWIlYlj/tdT+F3XNiDTLOUiyjBPyZL cToVlDJDRnHkZ09HSwVonWbRBBw4FYUgz4F4trOTu6Ys55KWjqnaImMCA9FgXg== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=uaO8055t; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -0.52 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=uaO8055t; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); spf=pass (aspmx2.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: E3C06290E1 X-Spam-Score: -0.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: 0u2pBtHcb/zP * gnu/packages/haskell-xyz.scm (ghc-base32-z-bytestring): New variable. --- gnu/packages/haskell-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 92b3d99b19..93b81f19de 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16504,3 +16504,36 @@ implementation of https://github.com/multiformats/multihash") "CPU is a library to get basic lowlevel properties of the cpu platform, like endianness and architecture.") (license license:bsd-3))) + +(define-public ghc-base32-z-bytestring + (package + (name "ghc-base32-z-bytestring") + (version "1.0.0.0") + (source + (origin + (method url-fetch) + (uri (hackage-uri "base32-z-bytestring" version)) + (sha256 + (base32 "1r0235a2qqnavsm7jl807m555yd2k2vi2kfacw878v83zdr5qyix")))) + (build-system haskell-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-internal-reference + (lambda _ + (substitute* "base32-z-bytestring.cabal" + (("z-base32-bytestring") "base32-z-bytestring"))))))) + (inputs (list ghc-cpu)) + (native-inputs + (list ghc-hedgehog + ghc-tasty + ghc-tasty-fail-fast + ghc-tasty-hedgehog + ghc-tasty-hspec)) + (home-page "https://github.com/oscoin/base32-z-bytestring") + (synopsis "Fast z-base32 and z-base32hex codec for ByteStrings") + (description + "Base32-Z-ByteString is an implementation of the base32 and base32hex +codecs according to RFC4648, extended to support z-base32 encoding according to +https://gist.github.com/maaku/8996338#file-bip-ecc32-mediawiki.") + (license license:bsd-3))) -- 2.30.2