[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
232/328: gnu: Add ghc-libyaml.
From: |
guix-commits |
Subject: |
232/328: gnu: Add ghc-libyaml. |
Date: |
Sat, 16 Nov 2019 19:33:14 -0500 (EST) |
samplet pushed a commit to branch wip-haskell-updates
in repository guix.
commit d1d4f65c5c18de33e5045447b5d8ec7670686084
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 3c0763f..755a627 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -59,6 +59,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)
@@ -5811,6 +5812,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")
- 298/328: gnu: ghc-equivalence: Update to 0.3.5., (continued)
- 298/328: gnu: ghc-equivalence: Update to 0.3.5., guix-commits, 2019/11/16
- 312/328: gnu: Add ghc-dictionary-sharing., guix-commits, 2019/11/16
- 328/328: gnu: ghc-haddock: Update to 2.22.0., guix-commits, 2019/11/16
- 230/328: gnu: ghc-conduit-extra: Update to 1.3.4., guix-commits, 2019/11/16
- 234/328: gnu: ghc-bzlib-conduit: Update to 0.3.0.2., guix-commits, 2019/11/16
- 238/328: gnu: Add ghc-infer-license., guix-commits, 2019/11/16
- 280/328: gnu: Add ghc-microlens-aeson., guix-commits, 2019/11/16
- 279/328: gnu: Add ghc-hsyaml., guix-commits, 2019/11/16
- 297/328: gnu: ghc-geniplate-mirror: Update Cabal file to r2., guix-commits, 2019/11/16
- 227/328: gnu: ghc-foldl: Update to 1.4.5., guix-commits, 2019/11/16
- 232/328: gnu: Add ghc-libyaml.,
guix-commits <=
- 241/328: gnu: hlint: Update to 2.1.26., guix-commits, 2019/11/16
- 239/328: gnu: ghc-hpack: Update to 0.31.2., guix-commits, 2019/11/16
- 259/328: gnu: ghc-deepseq-generics: Update Cabal file to r4., guix-commits, 2019/11/16
- 262/328: gnu: ghc-persistent-template: Update to 2.6.0., guix-commits, 2019/11/16
- 271/328: gnu: hoogle: Update to 5.0.17.11., guix-commits, 2019/11/16
- 273/328: gnu: ghc-haddock-library: Update to 1.7.0., guix-commits, 2019/11/16
- 295/328: gnu: Remove ghc-monadplus., guix-commits, 2019/11/16
- 307/328: gnu: Add ghc-timezone-olson., guix-commits, 2019/11/16
- 309/328: gnu: Update xmobar to 0.31., guix-commits, 2019/11/16
- 314/328: gnu: Add ghc-testing-feat., guix-commits, 2019/11/16