versions: Types and parsers for software version numbers.
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 Semantic Versioning if you aren't currently using it. It provides consistency in version incrementing and has the best constraints on comparisons.
This library implements version 2.0.0
of the SemVer spec.
[Skip to Readme]
Downloads
- versions-6.0.7.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 1.0.0, 1.0.1, 1.0.2, 1.1.0, 2.0.0, 3.0.0, 3.0.1, 3.0.1.1, 3.0.2, 3.0.2.1, 3.1.0, 3.1.0.1, 3.1.1, 3.2.0, 3.3.0, 3.3.1, 3.3.2, 3.4.0, 3.4.0.1, 3.5.0, 3.5.1, 3.5.1.1, 3.5.2, 3.5.3, 3.5.4, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.0.6, 6.0.7 (info) |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.10 && <4.21), deepseq (>=1.4), hashable (>=1.2), megaparsec (>=7), parser-combinators (>=1.0), template-haskell (>=2.15), text (>=1.2 && <1.3 || >=2.0 && <2.2) [details] |
License | BSD-3-Clause |
Author | Colin Woodbury |
Maintainer | colin@fosskers.ca |
Category | Data |
Home page | https://github.com/fosskers/versions |
Uploaded | by fosskers at 2024-06-02T22:15:02Z |
Distributions | Arch:6.0.4, LTSHaskell:6.0.7, NixOS:6.0.7, Stackage:6.0.7 |
Reverse Dependencies | 10 direct, 24 indirect [details] |
Downloads | 30013 total (254 in the last 30 days) |
Rating | 2.25 (votes: 2) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2024-06-02 [all 1 reports] |