]> gitweb.michael.orlitzky.com - dead/htsn-common.git/blobdiff - htsn-common.cabal
Fix the tar command in the makefile.
[dead/htsn-common.git] / htsn-common.cabal
index e5f6939e49b85dd9a5bea85928005befbf81a9de..03ec6a7f44f0a89be71ec2164388e8cf015992ca 100644 (file)
@@ -1,5 +1,5 @@
 name:           htsn-common
-version:        0.0.1
+version:        0.0.2
 cabal-version:  >= 1.8
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
@@ -8,7 +8,7 @@ license:        GPL-3
 license-file:   doc/LICENSE
 build-type:     Simple
 synopsis:
-  Library used by both htsn and htsn-import.
+  Display/logging facilities used by both htsn and htsn-import.
 description:
   This library contains three modules,
   .
@@ -20,6 +20,20 @@ description:
   .
   They work together to provide \"reporting\" for the htsn and htsn-import
   executables which both display and log things in the same way.
+  .
+  The Network.Services.TSN.Logging module allows the application to
+  log to syslog, a file, or both. Four convenience functions are
+  provided to log messages at each priority: error, debug, info, and
+  warn.
+  .
+  The Network.Services.TSN.Terminal provides similar functions that
+  instead display messages on the console (terminal). The output is
+  color-coded according to the severity of the message.
+  .
+  The Network.Services.TSN.Report modules contains convenience
+  functions that both log and display informational message. This is
+  what an (optionally interactive) application will usually want to
+  do.
 
 library
   hs-source-dirs: src/
@@ -28,10 +42,10 @@ library
     Network.Services.TSN.Report
     Network.Services.TSN.Terminal
   build-depends:
-    ansi-terminal               == 0.6.*,
-    base                        == 4.*,
-    hslogger                    == 1.2.*,
-    transformers                == 0.3.*
+    ansi-terminal               >= 0.6,
+    base                        >= 4.6 && < 5,
+    hslogger                    >= 1.2,
+    transformers                >= 0.3
   ghc-options:
     -Wall
     -fwarn-hi-shadowing
@@ -44,7 +58,6 @@ library
     -fwarn-monomorphism-restriction
     -fwarn-unused-do-bind
     -rtsopts
-    -threaded
     -optc-O3
     -optc-march=native
     -O2