rainbow 0.6.0.0 → 0.6.0.2
raw patch · 5 files changed
+75/−15 lines, 5 filesdep ~basedep ~terminfodep ~text
Dependency ranges changed: base, terminfo, text
Files
- LICENSE +1/−1
- README.md +33/−0
- System/Console/Rainbow.hs +1/−1
- dependencies.txt +35/−0
- rainbow.cabal +5/−13
LICENSE view
@@ -1,4 +1,4 @@-Copyright (c) 2013, Omari Norman+Copyright (c) 2013-2014, Omari Norman All rights reserved.
+ README.md view
@@ -0,0 +1,33 @@+# rainbow++rainbow helps you build colorful output for both 8- and 256-color+terminals. It works only on Unix-like operating systems.++rainbow is on Github:++http://www.github.com/massysett/rainbow++and Hackage:++http://hackage.haskell.org/package/rainbow++rainbow is licensed under the BSD license; see the LICENSE file.++## Versioning++rainbow releases are numbered in accordance with the Haskell+Package Versioning Policy.++rainbow does not set its dependencies in accordance with the+Package Versioning Policy, as I do not set upper bounds. rainbow+is guaranteed to build with the *minimum* versions specified in the+cabal file. I also include a dependencies.txt file that+documents more recent dependencies that are also known to work.++If you find that rainbow does not build due to dependency problems:+1) please let me know at omari@smileystation.com; 2) feel free to+add appropriate upper bounds or patches to the package as+appropriate; and 3) feel free to add command-line contraints to your+cabal command to get it to build.++
System/Console/Rainbow.hs view
@@ -821,7 +821,7 @@ -- environment does not have a TERM veriable, use 'Dumb'. termFromEnv :: IO Term termFromEnv = do- t <- Env.lookupEnv "TERM"+ t <- fmap (lookup "TERM") Env.getEnvironment return $ maybe Dumb TermName t -- | Gets the terminal definition from the environment. If the first
+ dependencies.txt view
@@ -0,0 +1,35 @@+These dependencies are known to work with rainbow+as of 2014-02-18. See the README.md for more information.++/opt/ghc-7.6.3/lib/ghc-7.6.3/package.conf.d:+ Cabal-1.16.0+ array-0.4.0.1+ base-4.6.0.1+ bin-package-db-0.0.0.0+ binary-0.5.1.1+ bytestring-0.10.0.2+ containers-0.5.0.0+ deepseq-1.3.0.1+ directory-1.2.0.1+ filepath-1.3.0.1+ (ghc-7.6.3)+ ghc-prim-0.3.0.0+ (haskell2010-1.1.1.0)+ (haskell98-2.0.0.2)+ hoopl-3.9.0.0+ hpc-0.6.0.0+ integer-gmp-0.5.0.0+ old-locale-1.0.0.5+ old-time-1.1.0.1+ pretty-1.1.1.0+ process-1.1.0.2+ rts-1.0+ template-haskell-2.8.0.0+ time-1.4.0.1+ unix-2.6.0.1++/home/massysett/rainbow/.cabal-sandbox/x86_64-linux-ghc-7.6.3-packages.conf.d:+ rainbow-0.6.0.2+ terminfo-0.4.0.0+ text-1.1.0.0+
rainbow.cabal view
@@ -1,5 +1,5 @@ name: rainbow-version: 0.6.0.0+version: 0.6.0.2 synopsis: Print text to terminal with colors and effects description: rainbow helps you print Text chunks to a terminal with colors and effects@@ -25,6 +25,7 @@ category: System build-type: Simple cabal-version: >=1.8+extra-source-files: README.md, dependencies.txt source-repository head type: git@@ -34,18 +35,9 @@ exposed-modules: System.Console.Rainbow - -- Rainbow is known to work with the following dependencies:- -- base-4.6.0.1- -- terminfo 0.3.2.5 && 0.4.0.0- -- text-0.11.3.1- --- -- The dependencies shown here are looser to prevent needless build failures- -- when the versions of dependencies go up. If rainbow does not build due to- -- dependency problems, please file a bug on Github.- -- hackage requires an upper bound on base. build-depends:- base >=4.6 && <5- , terminfo >=0.3- , text >=0.11+ base >=4.5.1.0 && <5+ , terminfo >=0.3.2+ , text >=0.11.2.0 ghc-options: -Wall