all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add ghc-hslogger.
@ 2017-02-11 20:35 rsiddharth
  2017-02-13 14:44 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: rsiddharth @ 2017-02-11 20:35 UTC (permalink / raw)
  To: guix-devel; +Cc: rsiddharth

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 37e35c45f..f0800b4dc 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -8168,4 +8168,33 @@ Rust syntax.  It is intended to be useful for two different purposes:
 files in Haskell.")
     (license license:bsd-3)))
 
+(define-public ghc-hslogger
+  (package
+    (name "ghc-hslogger")
+    (version "1.2.10")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/"
+                           "hslogger-" version "/" "hslogger-"
+                           version ".tar.gz"))
+       (sha256 (base32
+                "0as5gvlh6pi2gflakp695qnlizyyp059dqrhvjl4gjxalja6xjnp"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-mtl" ,ghc-mtl)
+       ("ghc-network" ,ghc-network)
+       ("ghc-directory", ghc-directory)
+       ("ghc-old-locale" ,ghc-old-locale)
+       ("ghc-process" ,ghc-process)))
+    (native-inputs
+     `(("ghc-hunit" ,ghc-hunit)))
+    (home-page "http://software.complete.org/hslogger")
+    (synopsis "Logging framework for Haskell, similar to Python's logging module")
+    (description "Lets each log message have a priority and
+source be associated with it.  The programmer can then define global
+handlers that route or filter messages based on the priority and
+source.  It also has a syslog handler built in.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.11.0

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

* Re: [PATCH] gnu: Add ghc-hslogger.
  2017-02-11 20:35 [PATCH] gnu: Add ghc-hslogger rsiddharth
@ 2017-02-13 14:44 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-02-13 14:44 UTC (permalink / raw)
  To: rsiddharth; +Cc: guix-devel

rsiddharth <s@ricketyspace.net> skribis:

> * gnu/packages/haskell.scm (ghc-hslogger): New variable.

[...]

> +    (home-page "http://software.complete.org/hslogger")
> +    (synopsis "Logging framework for Haskell, similar to Python's logging module")
> +    (description "Lets each log message have a priority and
> +source be associated with it.  The programmer can then define global

I added a subject to the first sentence and committed, thank you!

Ludo’.

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

end of thread, other threads:[~2017-02-13 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-11 20:35 [PATCH] gnu: Add ghc-hslogger rsiddharth
2017-02-13 14:44 ` 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.