summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul van der Walt <paul@denknerd.org>2015-10-15 15:49:54 +0200
committerPaul van der Walt <paul@denknerd.org>2015-10-23 09:10:52 +0200
commit6729152dc5178d2af07658d6cf145d3657a09b14 (patch)
tree8de47006bee31920de3178d53662839e611fdf9d
parent52db0e13720f2281d3a7c9c6eb91990df73b4355 (diff)
gnu: Add ghc-simple-reflect.
* gnu/packages/haskell.scm (ghc-simple-reflect): New variable.
-rw-r--r--gnu/packages/haskell.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index f6536982acc..e23a3ee9038 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -386,6 +386,33 @@ package.")
386package.") 386package.")
387 (license bsd-3))) 387 (license bsd-3)))
388 388
389(define-public ghc-simple-reflect
390 (package
391 (name "ghc-simple-reflect")
392 (version "0.3.2")
393 (source
394 (origin
395 (method url-fetch)
396 (uri (string-append
397 "http://hackage.haskell.org/package/simple-reflect/simple-reflect-"
398 version
399 ".tar.gz"))
400 (sha256
401 (base32
402 "1dpcf6w3cf1sfl9bnlsx04x7aghw029glj5d05qzrsnms2rlw8iq"))))
403 (build-system haskell-build-system)
404 (home-page
405 "http://twanvl.nl/blog/haskell/simple-reflection-of-expressions")
406 (synopsis
407 "Simple reflection of expressions containing variables")
408 (description
409 "This package allows simple reflection of expressions containing
410variables. Reflection here means that a Haskell expression is turned into a
411string. The primary aim of this package is teaching and understanding; there
412are no options for manipulating the reflected expressions beyond showing
413them.")
414 (license bsd-3)))
415
389(define-public ghc-reflection 416(define-public ghc-reflection
390 (package 417 (package
391 (name "ghc-reflection") 418 (name "ghc-reflection")