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

View file

@ -5703,6 +5703,27 @@ (define-public ghc-hslua
described in @url{https://www.lua.org/}.")
(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
(package
(name "ghc-hslua-module-text")