packages feed

spdx-1.0.0.3: spdx.cabal

cabal-version:      2.2
name:               spdx
version:            1.0.0.3
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.5
   || ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.2

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
    DeriveDataTypeable
    DeriveFoldable
    DeriveFunctor
    DeriveTraversable

  hs-source-dirs:   src/
  ghc-options:      -Wall
  build-depends:
    , base          >=4.3.0.0 && <4.17
    , Cabal         ^>=2.4.0.1 || ^>=3.0.0.0 || ^>=3.2.0.0 || ^>=3.4.0.0 || ^>=3.6.0.0
    , 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 || ^>=0.11.1 || ^>=0.12.1
    , Cabal
    , spdx
    , tasty             >=1.1.0.4 && <1.5
    , 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 || ^>=0.11.1 || ^>=0.12.1
    , Cabal
    , QuickCheck        >=2.12.6.1 && <2.15
    , spdx
    , tasty-quickcheck  ^>=0.10