Commits

Duncan Coutts  committed 70f96f8

Add cabal file and LICENSE

  • Participants
  • Parent commits cf3e8bc

Comments (0)

Files changed (2)

+Copyright (c) 2008-2009, Tom Harper
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+
+    * Redistributions in binary form must reproduce the above
+      copyright notice, this list of conditions and the following
+      disclaimer in the documentation and/or other materials provided
+      with the distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+name:           text
+version:        0.0
+synopsis:       A Unicode Text type
+description:    An effecient string type in the style of "Data.ByteString" but
+                for Unicode.
+license:        BSD3
+license-file:   LICENSE
+author:         Tom Harper <rtharper@aftereternity.co.uk>
+maintainer:     Tom Harper <rtharper@aftereternity.co.uk>
+                Bryan O'Sullivan <bos@serpentine.com>
+                Duncan Coutts <duncan@haskell.org>
+copyright:      2008-2009 Tom Harper
+category:       Data, Text
+build-type:     Simple
+cabal-version:  >= 1.2
+
+library
+  exposed-modules:
+    Data.Text
+  other-modules:
+    Data.Text.UnsafeChar
+    Data.Text.Internal
+    Data.Text.Fusion
+    Data.Text.Utf8
+    Data.Text.Utf32
+    Data.Text.Utf16
+
+  build-depends:
+    base       >= 3   && < 4,
+    array      >= 0.1 && < 0.3,
+    bytestring >= 0.9 && < 1.0
+  if impl(ghc >= 6.10)
+    build-depends:
+      ghc-prim
+
+  --TODO: upgrade to -Wall:
+  ghc-options: -W -fwarn-orphans
+  if impl(ghc >= 6.8)
+    ghc-options: -fwarn-tabs