packages feed

versions-3.5.1: versions.cabal

cabal-version: 1.12

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

name:           versions
version:        3.5.1
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
extra-source-files:
    CHANGELOG.md
    README.md

library
  ghc-options: -Wall -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
  build-depends:
      base >=4.8 && <4.13
    , deepseq >=1.4
    , hashable >=1.2
    , megaparsec >=7
    , text >=1.2
  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: -Wall -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -threaded -with-rtsopts=-N
  build-depends:
      QuickCheck >=2.9
    , base >=4.8 && <4.13
    , base-prelude
    , checkers >=0.4
    , megaparsec >=7
    , microlens >=0.4
    , tasty >=0.10.1.2
    , tasty-hunit >=0.9.2
    , tasty-quickcheck >=0.8
    , text >=1.2
    , versions
  default-language: Haskell2010