gnu: Add ghc-hslua-module-system.

* gnu/packages/haskell-xyz.scm (ghc-hslua-module-system): New variable.
This commit is contained in:
Timothy Sample 2019-11-03 08:38:03 -05:00
parent cbc6f8618f
commit ff303e4ebf
No known key found for this signature in database
GPG key ID: 2AC6A5EC1C357C59

View file

@ -5220,6 +5220,36 @@ (define-public ghc-hslua
described in @url{https://www.lua.org/}.") described in @url{https://www.lua.org/}.")
(license license:expat))) (license license:expat)))
(define-public ghc-hslua-module-system
(package
(name "ghc-hslua-module-system")
(version "0.2.1")
(source
(origin
(method url-fetch)
(uri (string-append "https://hackage.haskell.org/package/"
"hslua-module-system/hslua-module-system-"
version ".tar.gz"))
(sha256
(base32
"1m7wz3g5c34pyizqw5mllzhsy2vziddhlbhjfwdvd7nhd3p4v3hh"))))
(build-system haskell-build-system)
(inputs
`(("ghc-exceptions" ,ghc-exceptions)
("ghc-hslua" ,ghc-hslua)
("ghc-temporary" ,ghc-temporary)))
(native-inputs
`(("ghc-tasty" ,ghc-tasty)
("ghc-tasty-hunit" ,ghc-tasty-hunit)))
(home-page "https://github.com/hslua/hslua-module-system")
(synopsis "Lua module wrapper around Haskell's System module")
(description "This library provides access to system information and
functionality to Lua scripts via Haskell's @code{System} module. Intended
usage for this package is to preload it by adding the loader function to
@code{package.preload}. Note that the Lua @code{package} library must have
already been loaded before the loader can be added.")
(license license:expat)))
(define-public ghc-hslua-module-text (define-public ghc-hslua-module-text
(package (package
(name "ghc-hslua-module-text") (name "ghc-hslua-module-text")