all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#33987] [PATCH] gnu: Add ghc-tldr.
@ 2019-01-05 12:05 Gabriel Hondet
  2019-01-14 22:13 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Gabriel Hondet @ 2019-01-05 12:05 UTC (permalink / raw)
  To: 33987

[-- Attachment #1: Type: text/plain, Size: 1596 bytes --]

* gnu/packages/haskell.scm (ghc-tldr): 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 8d0e2aef6..9a05f2a5c 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -11365,4 +11365,37 @@ embedded in your Haskell code.")
 avoid the problem of partial intermediate files.")
     (license license:expat)))
 
+(define-public ghc-tldr
+  (package
+    (name "ghc-tldr")
+    (version "0.4.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/tldr/tldr-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0nc581y9jjzwd8l88g48c72mla7k6q1w102akl7gl5jsk9ljamd3"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-cmark" ,ghc-cmark)
+       ("ghc-text" ,ghc-text)
+       ("ghc-ansi-terminal" ,ghc-ansi-terminal)
+       ("ghc-optparse-applicative"
+        ,ghc-optparse-applicative)
+       ("ghc-typed-process" ,ghc-typed-process)
+       ("ghc-semigroups" ,ghc-semigroups)))
+    (native-inputs
+     `(("ghc-tasty" ,ghc-tasty)
+       ("ghc-tasty-golden" ,ghc-tasty-golden)))
+    (home-page
+     "https://github.com/psibi/tldr-hs#readme")
+    (synopsis "Haskell tldr client")
+    (description
+     "Haskell tldr client with support for updating and viewing tldr pages.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.20.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-17  9:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-05 12:05 [bug#33987] [PATCH] gnu: Add ghc-tldr Gabriel Hondet
2019-01-14 22:13 ` Ludovic Courtès
2019-01-15 15:16   ` Gabriel Hondet
2019-01-17  9:05     ` bug#33987: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.