packages feed

spdx-1: spdx.cabal

cabal-version:       2.2
name:                spdx
version:             1

synopsis:            SPDX license expression language, Extras
category:            Data
description:         Cabal provides SPDX types. This package provides some extras.

homepage:            https://github.com/phadej/spdx
license:             BSD-3-Clause
license-file:        LICENSE
author:              Oleg Grenrus <oleg.grenrus@iki.fi>
maintainer:          Oleg Grenrus <oleg.grenrus@iki.fi>
copyright:           (c) 2015-2018 Oleg Grenrus
build-type:          Simple

extra-source-files:  README.md CHANGELOG.md
tested-with:
  GHC ==7.6.3
   || ==7.8.4
   || ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.1

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

library
  default-language:    Haskell98
  exposed-modules:
    Distribution.SPDX.Extra
    Distribution.SPDX.Extra.Internal
  other-extensions:
    CPP
    DeriveFunctor,
    DeriveFoldable,
    DeriveTraversable,
    DeriveDataTypeable
  hs-source-dirs:      src/
  ghc-options:         -Wall
  build-depends:
    , base              >=4.3.0.0 && <4.13
    , Cabal             >=2.4.0.1 && <2.5
    , containers        >=0.5.0.0 && <0.7
    , transformers      >=0.3     && <0.6

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
    , base-compat       ^>=0.10.5
    , Cabal
    , spdx
    , tasty             ^>=1.1.0.4
    , tasty-quickcheck  ^>=0.10

benchmark bench
  type:                exitcode-stdio-1.0
  main-is:             Bench.hs
  other-modules:       Generators
  default-language:    Haskell98
  hs-source-dirs:      tests bench
  ghc-options:         -Wall
  build-depends:
    , base
    , base-compat       ^>=0.10.5
    , Cabal
    , spdx
    , QuickCheck       ^>=2.12.6.1
    , tasty-quickcheck ^>=0.10