guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] gnu: Add ghc-markdown-unlit.


From: Danny Milosavljevic
Subject: [PATCH] gnu: Add ghc-markdown-unlit.
Date: Wed, 4 Jan 2017 14:55:55 +0100

* gnu/packages/haskell.scm (ghc-markdown-unlit): New variable.
---
 gnu/packages/haskell.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index de061a630..899a5b24c 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -8073,4 +8073,37 @@ 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.  See also $url{Documentation,
+https://github.com/sol/markdown-unlit#readme}.";)
+   (license license:expat)))
+
 ;;; haskell.scm ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]