[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
232/329: gnu: Add ghc-libyaml.
From: |
guix-commits |
Subject: |
232/329: gnu: Add ghc-libyaml. |
Date: |
Wed, 20 Nov 2019 21:18:25 -0500 (EST) |
samplet pushed a commit to branch master
in repository guix.
commit 0c2d6fc22af6cde42909709458361d0dcecd2c99
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")
- 212/329: gnu: ghc-uri-bytestring: Update to 0.3.2.2., (continued)
- 212/329: gnu: ghc-uri-bytestring: Update to 0.3.2.2., guix-commits, 2019/11/20
- 214/329: gnu: ghc-free: Update to 5.1.2., guix-commits, 2019/11/20
- 218/329: gnu: ghc-exactprint: Update to 0.6.1., guix-commits, 2019/11/20
- 220/329: gnu: ghc-contravariant-extras: Update Cabal file to r1., guix-commits, 2019/11/20
- 219/329: gnu: ghc-wai-logger: Update to 2.3.5., guix-commits, 2019/11/20
- 223/329: gnu: ghc-rebase: Update to 1.3.1.1., guix-commits, 2019/11/20
- 222/329: gnu: ghc-cryptohash-sha1: Update Cabal file to r4., guix-commits, 2019/11/20
- 226/329: gnu: ghc-vector-builder: Update to 0.3.8., guix-commits, 2019/11/20
- 230/329: gnu: ghc-conduit-extra: Update to 1.3.4., guix-commits, 2019/11/20
- 229/329: gnu: ghc-conduit: Update to 1.3.1.1., guix-commits, 2019/11/20
- 232/329: gnu: Add ghc-libyaml.,
guix-commits <=
- 235/329: gnu: ghc-monad-logger: Update to 0.3.30., guix-commits, 2019/11/20
- 248/329: gnu: ghc-hackage-security: Update Cabal file to r6., guix-commits, 2019/11/20
- 169/329: gnu: ghc-httpd-shed: Update to 0.4.1.1., guix-commits, 2019/11/20
- 231/329: gnu: Add libyaml@2.1., guix-commits, 2019/11/20
- 233/329: gnu: ghc-yaml: Update to 0.11.1.2., guix-commits, 2019/11/20
- 243/329: gnu: ghc-stm-conduit: Update to 4.0.1., guix-commits, 2019/11/20
- 179/329: gnu: ghc-tls-session-manager: Update to 0.0.3., guix-commits, 2019/11/20
- 193/329: gnu: ghc-semigroupoids: Update to 5.3.3., guix-commits, 2019/11/20
- 205/329: gnu: Add ghc-network-byte-order., guix-commits, 2019/11/20
- 206/329: gnu: ghc-http2: Update to 1.6.5., guix-commits, 2019/11/20