cabal-bounds: A command line program for managing the bounds/versions of the dependencies in a cabal file.
A command line program for managing the bounds/versions of the dependencies in a cabal file.
'cabal-bounds' is able to do these things with the bounds of the dependencies in the cabal file:
drop them
update them by the library versions of the current cabal build
update them by the library versions of a haskell platform release
update them by the library versions specified by a file
dump the libraries/dependencies and their lower bound versions from the cabal file(s) into a file
For further details please consult the README.
Installation
If you're using the cabal new style commands (e.g. cabal new-build), then you can skip the Installation section.
You have to ensure, that the Cabal
library of 'cabal-bounds' matches the one used by the cabal
binary:
$ cabal --version cabal-install version 1.18.0.2 using version 1.18.1 of the Cabal library
$ cabal install --constraint="Cabal == 1.18.1" cabal-bounds
If you update the cabal
binary and the used Cabal
library changes, then you have to rebuild 'cabal-bounds'.
Issues
Perhaps the currently most annoying thing is, that you have to live with the reformating of your
cabal
file done by the pretty printer of the Cabal
library.
To reformat your cabal
file without changing any bounds you can call 'cabal-bounds' with the name of
a section that isn't present in the cabal
file:
$ cabal-bounds drop --executable=blub
[Skip to Readme]
Downloads
- cabal-bounds-2.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.2, 0.2.1, 0.3, 0.4, 0.4.1, 0.5, 0.6, 0.7, 0.8, 0.8.1, 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.8.9, 0.9, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 2.0.0, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.3.0, 2.4.0, 2.5.0, 2.6.0 (info) |
---|---|
Change log | CHANGELOG |
Dependencies | aeson (>=1.2.3.0 && <1.5), base (>=4.6.0.0 && <5), bytestring (>=0.10.8.2 && <1.0), Cabal (>=2.2.0.0 && <2.5), cabal-bounds, cabal-lenses (>=0.8.0 && <0.9), cmdargs (>=0.10.5 && <0.11), directory (>=1.2 && <1.4), filepath (>=1.3 && <1.5), lens (>=4.0.1 && <4.18), lens-aeson (>=1.0.2 && <1.1), strict (>=0.3.2 && <0.4), text (>=1.1.0.1 && <1.3), transformers (>=0.3.0.0 && <0.6), unordered-containers (>=0.2.3.3 && <0.3) [details] |
Tested with | ghc ==7.6.2, ghc ==7.6.3, ghc ==7.8.3, ghc ==7.10.1, ghc ==8.0.1, ghc ==8.2.1, ghc ==8.4.2, ghc ==8.6.3 |
License | BSD-3-Clause |
Author | Daniel Trstenjak |
Maintainer | daniel.trstenjak@gmail.com |
Category | Utils, Development |
Source repo | head: git clone https://github.com/dan-t/cabal-bounds |
Uploaded | by DanielTrstenjak at 2019-01-03T16:33:39Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Executables | cabal-bounds |
Downloads | 42973 total (64 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2019-01-03 [all 3 reports] |