packages feed

semver-0.1.2: semver.cabal

name:                  semver
version:               0.1.2
synopsis:              Representation, manipulation, and de/serialisation of Semantic Versions.
homepage:              https://github.com/brendanhay/semver
license:               OtherLicense
license-file:          LICENSE
author:                Brendan Hay
maintainer:            brendan.g.hay@gmail.com
copyright:             Copyright (c) 2014 Brendan Hay
category:              Data
build-type:            Simple
extra-source-files:    README.md
cabal-version:         >= 1.10

description:
    Representation, manipulation, and de/serialisation of a Version type
    following the Semantic Versioning specification.
    .
    For more information see: <http://semver.org>

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

library
    default-language:  Haskell2010
    hs-source-dirs:    src
    ghc-options:       -Wall -O2 -funbox-strict-fields

    exposed-modules:
          Data.SemVer

    build-depends:
          attoparsec >= 0.10 && < 0.13
        , base       >= 4.5  && < 5.0
        , deepseq    >= 1.1  && < 1.4
        , text       >= 0.11 && < 1.2

benchmark semver-bench
    type:              exitcode-stdio-1.0
    default-language:  Haskell2010
    main-is:           Main.hs
    hs-source-dirs:    bench
    ghc-options:      -Wall -O2 -threaded -with-rtsopts=-T

    build-depends:
          base
        , criterion >= 1.0.0.2 && < 1.1
        , semver
        , text

test-suite semver-test
    type:              exitcode-stdio-1.0
    default-language:  Haskell2010
    hs-source-dirs:    test
    main-is:           Main.hs
    ghc-options:       -Wall -threaded

    build-depends:
          base
        , semver
        , tasty       >= 0.8
        , tasty-hunit >= 0.8
        , text