name: versions version: 1.0.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 different 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 if you aren't currently using it. It provides consistency in version incrementing and has the best constraints on comparisons. license: BSD3 license-file: LICENSE author: Colin Woodbury maintainer: colingw@gmail.com -- copyright: category: Data build-type: Simple -- extra-source-files: cabal-version: >=1.10 source-repository head type: git location: git://github.com/fosskers/haskell-versions.git library exposed-modules: Data.Versions -- other-modules: other-extensions: OverloadedStrings build-depends: base >=4.8 && <4.9 , parsec >=3.1 && <3.2 , semigroups >= 0.16.2.2 , text >=1.2 && <1.3 , text-show >= 2 -- hs-source-dirs: default-language: Haskell2010 test-suite versions-test type: exitcode-stdio-1.0 other-extensions: OverloadedStrings build-depends: base >=4.8 && <4.9 , either >= 4.4.1 , extra >= 1.4.1 , semigroups >= 0.16.2.2 , tasty >= 0.10.1.2 , tasty-hunit >= 0.9.2 , text >=1.2 && <1.3 , text-show >= 2 , versions hs-source-dirs: test main-is: Test.hs default-language: Haskell2010