From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g7NjN-00034j-4N for guix-patches@gnu.org; Tue, 02 Oct 2018 12:41:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g7NjJ-0007Xf-Uo for guix-patches@gnu.org; Tue, 02 Oct 2018 12:41:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58572) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g7NjJ-0007XT-QX for guix-patches@gnu.org; Tue, 02 Oct 2018 12:41:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g7NjJ-0004ew-LR for guix-patches@gnu.org; Tue, 02 Oct 2018 12:41:01 -0400 Subject: [bug#32908] [PATCH 22/24] gnu: Add ghc-file-embed. Resent-Message-ID: From: Ricardo Wurmus Date: Tue, 2 Oct 2018 18:38:10 +0200 Message-ID: <20181002163806.5760-7-ricardo.wurmus@mdc-berlin.de> In-Reply-To: <20181002163806.5760-1-ricardo.wurmus@mdc-berlin.de> References: <20181002163255.5304-10-ricardo.wurmus@mdc-berlin.de> <20181002163806.5760-1-ricardo.wurmus@mdc-berlin.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 32908@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/haskell.scm (ghc-file-embed): New variable. --- gnu/packages/haskell.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index af44232ce..28f5bdffe 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 -- 2.19.0