gnu: Add ghc-simple-reflect.

* gnu/packages/haskell.scm (ghc-simple-reflect): New variable.
This commit is contained in:
Paul van der Walt 2015-10-15 15:49:54 +02:00
parent 52db0e1372
commit 6729152dc5
1 changed files with 27 additions and 0 deletions

View File

@ -386,6 +386,33 @@ package.")
package.") package.")
(license bsd-3))) (license bsd-3)))
(define-public ghc-simple-reflect
(package
(name "ghc-simple-reflect")
(version "0.3.2")
(source
(origin
(method url-fetch)
(uri (string-append
"http://hackage.haskell.org/package/simple-reflect/simple-reflect-"
version
".tar.gz"))
(sha256
(base32
"1dpcf6w3cf1sfl9bnlsx04x7aghw029glj5d05qzrsnms2rlw8iq"))))
(build-system haskell-build-system)
(home-page
"http://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
(synopsis
"Simple reflection of expressions containing variables")
(description
"This package allows simple reflection of expressions containing
variables. Reflection here means that a Haskell expression is turned into a
string. The primary aim of this package is teaching and understanding; there
are no options for manipulating the reflected expressions beyond showing
them.")
(license bsd-3)))
(define-public ghc-reflection (define-public ghc-reflection
(package (package
(name "ghc-reflection") (name "ghc-reflection")