mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: Add ghc-libyaml.
* gnu/packages/haskell-xyz.scm (ghc-libyaml): New variable.
This commit is contained in:
parent
3c95873a27
commit
0c2d6fc22a
1 changed files with 32 additions and 0 deletions
|
@ -59,6 +59,7 @@ (define-module (gnu packages haskell-xyz)
|
|||
#: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 @@ (define-public ghc-libxml
|
|||
"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")
|
||||
|
|
Loading…
Reference in a new issue