From patchwork Wed Dec 15 23:01:00 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksandr Vityazev X-Patchwork-Id: 35249 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 1C38427BBEA; Wed, 15 Dec 2021 23:01:20 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,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 DAF0327BBE9 for ; Wed, 15 Dec 2021 23:01:19 +0000 (GMT) Received: from localhost ([::1]:47858 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxdGx-0003eO-1F for patchwork@mira.cbaines.net; Wed, 15 Dec 2021 18:01:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39942) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxdGg-0003c2-P2 for guix-patches@gnu.org; Wed, 15 Dec 2021 18:01:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxdGg-0007zz-Fz for guix-patches@gnu.org; Wed, 15 Dec 2021 18:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxdGg-0002XU-E2 for guix-patches@gnu.org; Wed, 15 Dec 2021 18:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52527] [PATCH 1/4] gnu: Add ghc-data-binary-ieee754. Resent-From: Aleksandr Vityazev Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Dec 2021 23:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52527 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52527@debbugs.gnu.org Received: via spool by 52527-submit@debbugs.gnu.org id=B52527.16396092459682 (code B ref 52527); Wed, 15 Dec 2021 23:01:02 +0000 Received: (at 52527) by debbugs.gnu.org; 15 Dec 2021 23:00:45 +0000 Received: from localhost ([127.0.0.1]:33994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxdGP-0002W6-Bd for submit@debbugs.gnu.org; Wed, 15 Dec 2021 18:00:45 -0500 Received: from mout01.posteo.de ([185.67.36.65]:59725) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxdGN-0002Vc-TI for 52527@debbugs.gnu.org; Wed, 15 Dec 2021 18:00:44 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E52C6240026 for <52527@debbugs.gnu.org>; Thu, 16 Dec 2021 00:00:37 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.org; s=2017; t=1639609237; bh=aeTY5tZcdruKuKoCEklqJI2BL3QXYaXdf15mxTdMGIg=; h=From:To:Subject:Date:From; b=poKc+ZcwIHTfzOdLVqRzjqcGCC+KzLVw01v/rwnnRRumnTlaQBhZCe8+4yBerdHp1 pOW2mzD4V8ozrg8AIl17s+v+2C5880SwdtjMf79GNEYtjf+lpp8fEyRbKG/O/bMOus M55aLIjAPrG3dqXj3HVnYnFBWMWlQ+X8Zpt4iQxzEieH4i/HeJgxBcv1Y5UEpZoKD/ zbrv3qQIMy79VmqmVMMOlv0/hoK8uZJ5fUGaaPYSLS4/ThWDHvxtDHaPxqgwOuHmhp ErsdgVAxlY1lCf5FOX0FvHocltSuorNVfu+UjZLlHDAo2lfPJMMYGHTVYMnUGN68Z9 QKGvNeFzNuwqA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4JDrLr5T4qz6tmc for <52527@debbugs.gnu.org>; Thu, 16 Dec 2021 00:00:36 +0100 (CET) From: Aleksandr Vityazev In-Reply-To: References: Message-Id: <336160615ebdb1893d39a88f5b935b8c6b86eec6.1639609080.git.avityazev@posteo.org> Date: Wed, 15 Dec 2021 23:01:00 +0000 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-data-binary-ieee754): New variable. --- gnu/packages/haskell-xyz.scm | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index f5d15bcc2f..476a2b98a6 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -3011,6 +3011,22 @@ (define-public ghc-data-ordlist "This module provides set and multiset operations on ordered lists.") (license license:bsd-3))) +(define-public ghc-data-binary-ieee754 + (package + (name "ghc-data-binary-ieee754") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (hackage-uri "data-binary-ieee754" version)) + (sha256 + (base32 "02nzg1barhqhpf4x26mpzvk7jd29nali033qy01adjplv2z5m5sr")))) + (build-system haskell-build-system) + (home-page "https://john-millikin.com/software/") + (synopsis "Parser/Serialiser for IEEE-754 floating-point values") + (description "Convert Float and Decimal values to/from raw octets.") + (license license:expat))) + (define-public ghc-dbus (package (name "ghc-dbus") @@ -16026,4 +16042,3 @@ (define-public ghc-singleton-bool (description "This package provides Type-level booleans.") (license license:bsd-3))) -