gnu: Add ghc-hslua-for-pandoc-1.

* gnu/packages/haskell.scm (ghc-hslua-for-pandoc-1): New variable.
This commit is contained in:
Ricardo Wurmus 2018-03-13 17:22:30 +01:00 committed by Ricardo Wurmus
parent dcf8e2ab30
commit f45c86b555
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 21 additions and 0 deletions

View File

@ -5703,6 +5703,27 @@ TIFF and GIF formats.")
described in @url{https://www.lua.org/}.") described in @url{https://www.lua.org/}.")
(license license:expat))) (license license:expat)))
(define-public ghc-hslua-for-pandoc-1
(package (inherit ghc-hslua)
(version "0.4.1")
(source (origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/"
"hslua/hslua-" version ".tar.gz"))
(sha256
(base32
"0gqp6qhp4v24kzv2j49kgk7bxqzw0w10x0zr0r2j9wkfavqb9wid"))))
(inputs
`(("lua" ,lua-5.1)
("ghc-text" ,ghc-text)))
(native-inputs
`(("ghc-quickcheck" ,ghc-quickcheck)
("ghc-quickcheck-instances" ,ghc-quickcheck-instances)
("ghc-hspec" ,ghc-hspec)
("ghc-hspec-contrib" ,ghc-hspec-contrib)
("ghc-hunit" ,ghc-hunit)
("hspec-discover" ,hspec-discover)))))
(define-public ghc-hslua-module-text (define-public ghc-hslua-module-text
(package (package
(name "ghc-hslua-module-text") (name "ghc-hslua-module-text")