From patchwork Wed Jan 15 14:43:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: JoJo X-Patchwork-Id: 19825 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 C14C317AC3; Wed, 15 Jan 2020 14:44:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 8240217ABA for ; Wed, 15 Jan 2020 14:44:09 +0000 (GMT) Received: from localhost ([::1]:55010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irjtx-0002NE-3F for patchwork@mira.cbaines.net; Wed, 15 Jan 2020 09:44:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44794) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irjtr-0002N2-BQ for guix-patches@gnu.org; Wed, 15 Jan 2020 09:44:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irjtq-0001Y8-4y for guix-patches@gnu.org; Wed, 15 Jan 2020 09:44:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56728) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1irjtq-0001Xy-1B for guix-patches@gnu.org; Wed, 15 Jan 2020 09:44:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1irjtp-0004Cp-Vn for guix-patches@gnu.org; Wed, 15 Jan 2020 09:44:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#39105] [PATCH 1/2] gnu: Add ghc-llvm-hs-pure References: <87h8108o4x.fsf@jo.zone> In-Reply-To: <87h8108o4x.fsf@jo.zone> Resent-From: JoJo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Jan 2020 14:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39105 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39105@debbugs.gnu.org Received: via spool by 39105-submit@debbugs.gnu.org id=B39105.157909940116089 (code B ref 39105); Wed, 15 Jan 2020 14:44:01 +0000 Received: (at 39105) by debbugs.gnu.org; 15 Jan 2020 14:43:21 +0000 Received: from localhost ([127.0.0.1]:34465 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irjt8-0004BM-Fb for submit@debbugs.gnu.org; Wed, 15 Jan 2020 09:43:21 -0500 Received: from mta-09-4.privateemail.com ([68.65.122.29]:9895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1irjt1-0004B0-Ok for 39105@debbugs.gnu.org; Wed, 15 Jan 2020 09:43:16 -0500 Received: from MTA-09.privateemail.com (localhost [127.0.0.1]) by MTA-09.privateemail.com (Postfix) with ESMTP id 092DF6003F for <39105@debbugs.gnu.org>; Wed, 15 Jan 2020 09:43:06 -0500 (EST) Received: from odin (unknown [10.20.151.244]) by MTA-09.privateemail.com (Postfix) with ESMTPA id 6BE6360034 for <39105@debbugs.gnu.org>; Wed, 15 Jan 2020 14:43:05 +0000 (UTC) From: JoJo Date: Wed, 15 Jan 2020 15:43:03 +0100 Message-ID: <87lfq84w7c.fsf@jo.zone> MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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-llvm-hs-pure): New variable. --- gnu/packages/haskell-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 3a9880f58c..a04e8f652e 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -6704,6 +6704,35 @@ ByteString, for types that support input and output, and for types that can handle infinite lists.") (license license:bsd-3))) +(define-public ghc-llvm-hs-pure + (package + (name "ghc-llvm-hs-pure") + (version "9.0.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/llvm-hs-pure/llvm-hs-pure-" + version + ".tar.gz")) + (sha256 + (base32 + "0pxb5ah8r5pzpz2ibqw3g9g1isigb4z7pbzfrwr8kmcjn74ab3kf")))) + (build-system haskell-build-system) + (inputs `(("ghc-attoparsec" ,ghc-attoparsec) + ("ghc-fail" ,ghc-fail) + ("ghc-unordered-containers" ,ghc-unordered-containers))) + (native-inputs `(("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck))) + (home-page "http://github.com/llvm-hs/llvm-hs/") + (synopsis "Pure Haskell LLVM functionality (no FFI).") + (description "llvm-hs-pure is a set of pure Haskell types and functions +for interacting with LLVM. It includes an ADT to represent LLVM IR. The +llvm-hs package builds on this one with FFI bindings to LLVM, but llvm-hs-pure +does not require LLVM to be available.") + (license license:bsd-3))) + (define-public ghc-logging-facade (package (name "ghc-logging-facade")