packages feed

versions-3.4.0: versions.cabal

-- This file has been generated from package.yaml by hpack version 0.28.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: afb8248e886b4197b3f7e3c3eb5132afb1409a8ac97bcf914795a9a3fd2ffdd7

name:           versions
version:        3.4.0
synopsis:       Types and parsers for software version numbers.
description:    A library for parsing and comparing software version numbers. We like to give version numbers to our software in a myriad of ways. Some ways follow strict guidelines for incrementing and comparison. Some follow conventional wisdom and are generally self-consistent. Some are just plain asinine. This library provides a means of parsing and comparing /any/ style of versioning, be it a nice Semantic Version like this:
                .
                > 1.2.3-r1+git123
                .
                ...or a monstrosity like this:
                .
                > 2:10.2+0.0093r3+1-1
                .
                Please switch to <http://semver.org Semantic Versioning> if you aren't currently using it. It provides consistency in version incrementing and has the best constraints on comparisons.
category:       Data
homepage:       https://gitlab.com/fosskers/versions
author:         Colin Woodbury
maintainer:     colin@fosskers.ca
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10
extra-source-files:
    CHANGELOG.md
    README.md

library
  ghc-options: -fwarn-unused-imports -fwarn-unused-binds -fwarn-name-shadowing -fwarn-unused-matches -fwarn-incomplete-patterns -fwarn-redundant-constraints -Wincomplete-uni-patterns
  build-depends:
      base >=4.8 && <4.12
    , deepseq >=1.4 && <1.5
    , hashable >=1.2 && <1.3
    , megaparsec >=6 && <7
    , text >=1.2 && <1.3
  exposed-modules:
      Data.Versions
  default-language: Haskell2010

test-suite versions-test
  type: exitcode-stdio-1.0
  main-is: Test.hs
  hs-source-dirs:
      test
  ghc-options: -fwarn-unused-imports -fwarn-unused-binds -fwarn-name-shadowing -fwarn-unused-matches -fwarn-incomplete-patterns -fwarn-redundant-constraints -Wincomplete-uni-patterns -threaded -with-rtsopts=-N
  build-depends:
      QuickCheck >=2.9 && <2.12
    , base >=4.8 && <4.12
    , base-prelude
    , checkers >=0.4 && <0.5
    , megaparsec >=6 && <7
    , microlens >=0.4 && <0.5
    , tasty >=0.10.1.2
    , tasty-hunit >=0.9.2
    , tasty-quickcheck >=0.8 && <0.11
    , text >=1.2 && <1.3
    , versions
  default-language: Haskell2010