packages feed

prizm-0.1.0.4: prizm.cabal

Name:                prizm
Version:             0.1.0.4
Synopsis:            A haskell library for computing with colors

Description:         Prizm can convert between many different color
                     representations; notably the sRGB and CIE
                     representations. Future versions will
                     have implementations for mutating colors as well.

Homepage:            https://github.com/ixmatus/prizm
License:             BSD3
License-file:        LICENSE
Author:              Parnell Springmeyer
Maintainer:          ixmatus@gmail.com
Copyright:           (c) 2013 Parnell Springmeyer
Category:            Graphics
Build-type:          Simple
Stability:           alpha
Bug-reports:         https://github.com/ixmatus/prizm/issues
Package-url:         http://hackage.haskell.org/package/prizm
Tested-with:         GHC == 7.4.2
Cabal-version:       >=1.14.0

extra-source-files:
    LICENSE
    README.md
    CHANGES

source-repository head
  type:     git
  location: https://github.com/ixmatus/prizm

library
  hs-source-dirs: src
  default-language: Haskell2010
  exposed-modules:
    Data.Prizm.Types
    Data.Prizm.Color.Transform
    Data.Prizm.Color.SRGB
    Data.Prizm.Color.CIE
    Data.Prizm.Color.Matrices.RGB
    Data.Prizm.Color.Matrices.XYZ
  
  ghc-options: -Wall
  
  build-depends: base ==4.5.*,
                 text >= 0.11.2.3

test-suite tests
  type:           exitcode-stdio-1.0
  hs-source-dirs: tests
  main-is:        QC.hs
  other-modules:  QC.SRGB
--                  QC.Text

  ghc-options:
    -Wall -threaded -rtsopts

  build-depends:
    prizm,
    base >= 4,
    QuickCheck >= 2.4,
    test-framework >= 0.4,
    test-framework-quickcheck2 >= 0.2