name:                semver-range
version:             0.2.8
synopsis:            An implementation of semver and semantic version ranges.
description:         Provides parsing of semvers and range indicators, as well as logic such as version ordering and determining whether a given version falls in a given range.
license:             MIT
license-file:        LICENSE
author:              Allen Nelson
maintainer:          anelson@narrativescience.com
build-type:          Simple
cabal-version:       >=1.10
bug-reports:         https://github.com/adnelson/semver-range/issues

source-repository head
  type:     git
  location: git://github.com/adnelson/semver-range.git

library
  Exposed-modules:     Data.SemVer
  other-modules:       Data.SemVer.Parser
                     , Data.SemVer.Types
  other-extensions:    FlexibleContexts
                     , FlexibleInstances
                     , LambdaCase
                     , NoImplicitPrelude
                     , NoMonomorphismRestriction
                     , OverloadedStrings
                     , QuasiQuotes
                     , RecordWildCards
                     , ScopedTypeVariables
                     , TypeFamilies
                     , TypeSynonymInstances
  build-depends:       base >=4.8 && <5
                     , classy-prelude
                     , text
                     , unordered-containers
                     , parsec
  hs-source-dirs:      src
  default-language:    Haskell2010

test-suite unit-tests
  type:                exitcode-stdio-1.0
  hs-source-dirs:      src, tests
  main-is:             Unit.hs
  build-depends:       base
                     , classy-prelude
                     , text
                     , unordered-containers
                     , parsec
                     , hspec
                     , QuickCheck
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010