This utility can be used to verify the version of an installedpackage against version constraints. The version constraints canbe specified in typical cabal fashion (e.g. >= 8.3, == 0.9.*, >= 8.3 && < 9.0).
Usage: cabalvchk package-name version-constraints [verbose]
Note that the version-constraints will probably need to be enclosed insingle-quotes to prevent the shell from interpreting characters in thespecification.
One use of this utility is by external configuration/validation utilities(e.g. autoconf) to verify installed package versions without running acabal build. This utility produces no output (unless a third argument isspecified) and the return value is 0 if the constraints are met or non-zeroif the constraints are not met (including if the package is not installed).
Changes in 0.3:
Changed category to Distribution
Only consider exposed packages
Changes in 0.2:
Handles multiple package installations by returning 0 if any of theinstalled versions satisfies the constraints.
For package maintainers and hackage trustees
Candidates
| Versions[RSS] | 0.2,0.3 |
|---|---|
| Dependencies | base (>=4 && <5),Cabal (>1.10 && <2) [details] |
| License | BSD-3-Clause |
| Author | Kevin Quick |
| Maintainer | quick@sparq.org |
| Uploaded | byKevinQuick at2012-01-14T07:24:57Z |
| Category | Distribution |
| Distributions | |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Executables | cabalvchk |
| Downloads | 2146 total (5 in the last 30 days) |
| Rating | (no votes yet)[estimated byBayesian average] |
| Your Rating |
|
| Status | Docs not available[build log] Last success reported on 2015-12-11[all 10 reports] |