From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:42575) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaec8-0004GL-S7 for guix-patches@gnu.org; Fri, 29 Nov 2019 06:39:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaec6-0001QG-Ta for guix-patches@gnu.org; Fri, 29 Nov 2019 06:39:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53551) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaec6-0001Pa-PL for guix-patches@gnu.org; Fri, 29 Nov 2019 06:39:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iaec6-0006D0-M6 for guix-patches@gnu.org; Fri, 29 Nov 2019 06:39:06 -0500 Subject: [bug#38423] [PATCH 21/49] gnu: Add ghc-data-endian. Resent-Message-ID: From: Robert Vollmert Date: Fri, 29 Nov 2019 12:37:23 +0100 Message-Id: <20191129113751.82405-21-rob@vllmrt.net> In-Reply-To: <20191129113751.82405-1-rob@vllmrt.net> References: <20191129113751.82405-1-rob@vllmrt.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 38423@debbugs.gnu.org Cc: Robert Vollmert * gnu/packages/haskell-xyz.scm (ghc-data-endian): 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 0b40ec6c6b..5f90fc1551 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -13604,3 +13604,24 @@ Haskell for attaching typeclass instances.") fixed-length binary word data types. Signed and unsigned 96, 128, 160, 192, 224, and 256-bit types are predefined.") (license license:bsd-3))) + +(define-public ghc-data-endian + (package + (name "ghc-data-endian") + (version "0.1.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/data-endian/data-endian-" + version + ".tar.gz")) + (sha256 + (base32 + "1h1abz87nha7cpw50yvf8fwvcca350wnnz2d3z9k30sg6wq4y7cc")))) + (build-system haskell-build-system) + (home-page "https://github.com/mvv/data-endian") + (synopsis "Endian-sensitive data") + (description + "This package provides helpers for converting endian-sensitive data.") + (license license:bsd-3))) -- 2.21.0 (Apple Git-122.2)