aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2018-10-02 18:38:10 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-10-05 23:59:27 +0200
commitea202046fa66028463df9cf23399d4adc39f5c36 (patch)
treebefd3e6ddf92486226eb7f0bd3780f09c3666923 /gnu
parentc7e400b1eefd627e634a9624f4f68f217d55715d (diff)
downloadgnu-guix-ea202046fa66028463df9cf23399d4adc39f5c36.tar
gnu-guix-ea202046fa66028463df9cf23399d4adc39f5c36.tar.gz
gnu: Add ghc-file-embed.
* gnu/packages/haskell.scm (ghc-file-embed): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/haskell.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index af44232cee..28f5bdffe6 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -11313,4 +11313,25 @@ and daemons. The features include:
@end enumerate\n")
(license license:bsd-3)))
+(define-public ghc-file-embed
+ (package
+ (name "ghc-file-embed")
+ (version "0.0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/file-embed/"
+ "file-embed-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0lj164cnzqyd487mli91nnr7137a4h4qsasfwsnsh77sx12fpk9k"))))
+ (build-system haskell-build-system)
+ (home-page "https://github.com/snoyberg/file-embed")
+ (synopsis "Use Template Haskell to embed file contents directly")
+ (description
+ "This package allows you to use Template Haskell to read a file or all
+the files in a directory, and turn them into @code{(path, bytestring)} pairs
+embedded in your Haskell code.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here