[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/10: gnu: Add ghc-libxml.
From: |
Eric Bavier |
Subject: |
02/10: gnu: Add ghc-libxml. |
Date: |
Thu, 19 Nov 2015 14:08:35 +0000 |
bavier pushed a commit to branch master
in repository guix.
commit 1472ba25465df75d1d17c50e8c4db9cd71bd2343
Author: Eric Bavier <address@hidden>
Date: Wed Nov 18 18:01:40 2015 -0600
gnu: Add ghc-libxml.
* gnu/packages/haskell.scm (ghc-libxml): New variable.
---
gnu/packages/haskell.scm | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index e009e0f..2e071ab 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -43,6 +43,7 @@
#:use-module (gnu packages ncurses)
#:use-module (gnu packages python)
#:use-module (gnu packages pcre)
+ #:use-module ((gnu packages xml) #:select (libxml2))
#:use-module (gnu packages xorg))
(define ghc-bootstrap-x86_64-7.8.4
@@ -267,6 +268,33 @@ interactive environment for the functional language
Haskell.")
determine the hostname.")
(license bsd-3)))
+(define-public ghc-libxml
+ (package
+ (name "ghc-libxml")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "http://hackage.haskell.org/package/libxml/"
+ "libxml-" version ".tar.gz"))
+ (sha256
+ (base32
+ "01zvk86kg726lf2vnlr7dxiz7g3xwi5a4ak9gcfbwyhynkzjmsfi"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-mtl" ,ghc-mtl)
+ ("libxml2" ,libxml2)))
+ (arguments
+ `(#:configure-flags
+ `(,(string-append "--extra-include-dirs="
+ (assoc-ref %build-inputs "libxml2")
+ "/include/libxml2"))))
+ (home-page "http://hackage.haskell.org/package/libxml")
+ (synopsis "Haskell bindings to libxml2")
+ (description
+ "This library provides minimal Haskell binding to libxml2.")
+ (license bsd-3)))
+
(define-public ghc-prelude-extras
(package
(name "ghc-prelude-extras")
- branch master updated (d2a5210 -> c3c61a7), Eric Bavier, 2015/11/19
- 02/10: gnu: Add ghc-libxml.,
Eric Bavier <=
- 01/10: gnu: Add ghc-hostname., Eric Bavier, 2015/11/19
- 03/10: gnu: Add ghc-test-framework., Eric Bavier, 2015/11/19
- 05/10: gnu: ghc-regex-posix: Propagate inputs., Eric Bavier, 2015/11/19
- 06/10: gnu: ghc-async: Enable tests., Eric Bavier, 2015/11/19
- 08/10: gnu: ghc-attoparsec: Enable tests., Eric Bavier, 2015/11/19
- 07/10: gnu: Add ghc-test-framework-quickcheck2., Eric Bavier, 2015/11/19
- 04/10: gnu: Add ghc-test-framework-hunit., Eric Bavier, 2015/11/19
- 09/10: gnu: Add ghc-chasingbottoms., Eric Bavier, 2015/11/19
- 10/10: gnu: ghc-unordered-containers: Enable tests., Eric Bavier, 2015/11/19