[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
232/290: gnu: Add ghc-libyaml.
From: |
guix-commits |
Subject: |
232/290: gnu: Add ghc-libyaml. |
Date: |
Wed, 6 Nov 2019 08:23:18 -0500 (EST) |
samplet pushed a commit to branch wip-haskell-updates
in repository guix.
commit 3df97c503724c3862b6191bbd3980c9b635ea965
Author: Timothy Sample <address@hidden>
Date: Sat Nov 2 01:09:39 2019 -0400
gnu: Add ghc-libyaml.
* gnu/packages/haskell-xyz.scm (ghc-libyaml): New variable.
---
gnu/packages/haskell-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index fc5f49e..030982e 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -58,6 +58,7 @@
#:use-module (gnu packages pcre)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages sdl)
+ #:use-module (gnu packages web)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
#:use-module (guix build-system haskell)
@@ -5810,6 +5811,37 @@ Music Player Daemon.")
"This library provides minimal Haskell binding to libxml2.")
(license license:bsd-3)))
+(define-public ghc-libyaml
+ (package
+ (name "ghc-libyaml")
+ (version "0.1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "libyaml/libyaml-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0psznm9c3yjsyj9aj8m2svvv9m2v0x90hnwarcx5sbswyi3l00va"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Delete bundled LibYAML.
+ '(begin
+ (delete-file-recursively "libyaml_src")
+ #t))))
+ (build-system haskell-build-system)
+ (arguments
+ `(#:configure-flags `("--flags=system-libyaml")))
+ (inputs
+ `(("ghc-conduit" ,ghc-conduit)
+ ("ghc-resourcet" ,ghc-resourcet)
+ ("libyaml" ,libyaml-2.1)))
+ (home-page "https://github.com/snoyberg/yaml#readme")
+ (synopsis "Low-level, streaming YAML interface.")
+ (description "This package provides a Haskell wrapper over the
+LibYAML C library.")
+ (license license:bsd-3)))
+
(define-public ghc-lifted-async
(package
(name "ghc-lifted-async")
- 279/290: gnu: Add ghc-hsyaml., (continued)
- 279/290: gnu: Add ghc-hsyaml., guix-commits, 2019/11/06
- 281/290: gnu: Add ghc-aeson-diff., guix-commits, 2019/11/06
- 285/290: gnu: ghc-yesod-form: Update to 1.6.7., guix-commits, 2019/11/06
- 238/290: gnu: Add ghc-infer-license., guix-commits, 2019/11/06
- 234/290: gnu: ghc-bzlib-conduit: Update to 0.3.0.2., guix-commits, 2019/11/06
- 237/290: gnu: Add ghc-text-metrics., guix-commits, 2019/11/06
- 200/290: gnu: Add ghc-dense-linear-algebra., guix-commits, 2019/11/06
- 212/290: gnu: ghc-uri-bytestring: Update to 0.3.2.2., guix-commits, 2019/11/06
- 215/290: gnu: ghc-either: Update to 5.0.1.1., guix-commits, 2019/11/06
- 230/290: gnu: ghc-conduit-extra: Update to 1.3.4., guix-commits, 2019/11/06
- 232/290: gnu: Add ghc-libyaml.,
guix-commits <=
- 236/290: gnu: ghc-http: Update to 4000.3.14., guix-commits, 2019/11/06
- 241/290: gnu: hlint: Update to 2.1.26., guix-commits, 2019/11/06
- 240/290: gnu: Add ghc-lib-parser., guix-commits, 2019/11/06
- 246/290: gnu: ghc-cryptohash-sha256: Update Cabal file to r3., guix-commits, 2019/11/06
- 245/290: gnu: ghc-persistent: Update to 2.9.2., guix-commits, 2019/11/06
- 250/290: gnu: ghc-adjunctions: Update Cabal file to r2., guix-commits, 2019/11/06
- 251/290: gnu: ghc-lens: Update to 4.17.1., guix-commits, 2019/11/06
- 257/290: gnu: ghc-conduit-algorithms: Update to 0.0.11.0., guix-commits, 2019/11/06
- 264/290: gnu: ghc-chart: Update to 1.9.1., guix-commits, 2019/11/06
- 262/290: gnu: ghc-persistent-template: Update to 2.6.0., guix-commits, 2019/11/06