devel/hs-versions - The NetBSD Packages Collection

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:


...or a monstrosity like this:


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.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

devel/hs-hashable textproc/hs-megaparsec devel/hs-parser-combinators lang/ghc96 devel/hs-hashable textproc/hs-megaparsec devel/hs-parser-combinators

Binary packages

NetBSD 10.0aarch64hs-versions-6.0.3nb1.tgz
NetBSD 10.0aarch64hs-versions-5.0.4nb1.tgz
NetBSD 10.0aarch64hs-versions-5.0.4nb1.tgz
NetBSD 10.0x86_64hs-versions-6.0.3nb1.tgz
NetBSD 10.0_BETAx86_64hs-versions-5.0.4nb1.tgz
NetBSD 8.0x86_64hs-versions-5.0.4nb1.tgz
NetBSD 8.0x86_64hs-versions-5.0.4nb1.tgz
NetBSD 9.0aarch64hs-versions-6.0.3nb1.tgz
NetBSD 9.0aarch64hs-versions-5.0.4nb1.tgz
NetBSD 9.0aarch64hs-versions-5.0.4nb1.tgz
NetBSD 9.0x86_64hs-versions-6.0.3nb1.tgz
NetBSD 9.0x86_64hs-versions-5.0.4nb1.tgz
NetBSD 9.3x86_64hs-versions-5.0.4nb1.tgz
NetBSD 9.3x86_64hs-versions-6.0.3nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.