* [PATCH] gnu: Add ghc-markdown-unlit.
@ 2017-01-04 13:55 Danny Milosavljevic
2017-01-04 14:45 ` David Craven
0 siblings, 1 reply; 2+ messages in thread
From: Danny Milosavljevic @ 2017-01-04 13:55 UTC (permalink / raw)
To: guix-devel
* 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gnu: Add ghc-markdown-unlit.
2017-01-04 13:55 [PATCH] gnu: Add ghc-markdown-unlit Danny Milosavljevic
@ 2017-01-04 14:45 ` David Craven
0 siblings, 0 replies; 2+ messages in thread
From: David Craven @ 2017-01-04 14:45 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: guix-devel
> + (source
> + (origin
should be (source (origin
> + (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
(home-page "https://github.com/sol/markdown-unlit#readme")
(synopsis "Literate Haskell support for Markdown")
(description "This package
LGTM with these changes
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-04 14:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-04 13:55 [PATCH] gnu: Add ghc-markdown-unlit Danny Milosavljevic
2017-01-04 14:45 ` David Craven
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).