From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v3] gnu: Add ghc-markdown-unlit. Date: Thu, 5 Jan 2017 16:50:56 +0100 Message-ID: <20170105155056.7726-1-dannym@scratchpost.org> References: <87o9zly5cq.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cPAJp-0000Ni-JU for guix-devel@gnu.org; Thu, 05 Jan 2017 10:51:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cPAJk-00057u-3T for guix-devel@gnu.org; Thu, 05 Jan 2017 10:51:09 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:35039) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cPAJj-00057C-SP for guix-devel@gnu.org; Thu, 05 Jan 2017 10:51:04 -0500 In-Reply-To: <87o9zly5cq.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/haskell.scm (ghc-markdown-unlit): New variable. --- gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index de061a630..5d3c85475 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -8073,4 +8073,31 @@ It features a complete, well-tested parser and pretty printer for all of C99 and a large set of GNU extensions.") (license license:bsd-3))) +(define-public ghc-markdown-unlit + (package + (name "ghc-markdown-unlit") + (version "0.4.0") + (source (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/markdown-unlit/" + "markdown-unlit-" version ".tar.gz")) + (sha256 + (base32 + "1kj2bffl7ndd8ygwwa3r1mbpwbxbfhyfgnbla8k8g9i6ffp0qrbw")))) + (build-system haskell-build-system) + (inputs + `(("ghc-base-compat" ,ghc-base-compat) + ("ghc-hspec" ,ghc-hspec) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-silently" ,ghc-silently) + ("ghc-stringbuilder" ,ghc-stringbuilder) + ("ghc-temporary" ,ghc-temporary))) + (native-inputs + `(("hspec-discover" ,hspec-discover))) + (home-page "https://github.com/sol/markdown-unlit#readme") + (synopsis "Literate Haskell support for Markdown") + (description "This package allows you to have a README.md that at the +same time is a literate Haskell program.") + (license license:expat))) + ;;; haskell.scm ends here