File 1.cabal of Package ghc-spdx

name:                spdx
version:             0.2.1.0
x-revision: 1
synopsis:            SPDX license expression language
description:         Implementation of <http://spdx.org/sites/spdx/files/SPDX-2.0.pdf SPDX> related functionality.
homepage:            https://github.com/phadej/spdx
license:             BSD3
license-file:        LICENSE
author:              Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer:          Oleg Grenrus <oleg.grenrus@iki.fi>
copyright:           (c) 2015 Oleg Grenrus
category:            Data
build-type:          Simple
extra-source-files:  README.md
tested-with:         GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.2
cabal-version:       >=1.10

source-repository head
  type: git
  location: https://github.com/phadej/spdx

library
  default-language:    Haskell98
  exposed-modules:     Data.SPDX,
                       Data.SPDX.LatticeSyntax
  other-modules:       Data.SPDX.Licenses,
                       Data.SPDX.Types,
                       Data.SPDX.Parser,
                       Data.SPDX.Pretty,
                       Data.SPDX.Ranges
  other-extensions:    CPP
                       DeriveFunctor,
                       DeriveFoldable,
                       DeriveTraversable,
                       DeriveDataTypeable
  if impl(ghc >=7.2)
    other-extensions:  DeriveGeneric
  hs-source-dirs:      src/
  ghc-options:         -Wall
  build-depends:       base              >=4.2 && <4.10,
                       transformers      >=0.3 && <0.6
  if impl(ghc >=7.2 && <7.5)
    build-depends: ghc-prim


test-suite test
  type:                exitcode-stdio-1.0
  main-is:             Tests.hs
  other-modules:       Generators
  default-language:    Haskell98
  hs-source-dirs:      tests
  ghc-options:         -Wall
  build-depends:       base              >=4.5  && <4.10,
                       tasty             >=0.10 && <0.12,
                       tasty-quickcheck  >=0.8  && <0.9,
                       spdx
openSUSE Build Service is sponsored by