| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sun, 18 Jan 2026 07:10:03 GMT
X-Served-By: cache-dfw-kdal2120096-DFW, cache-bom-vanm7210062-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768720203.254154,VS0,VE321
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
cabal-pkg-config-version-hook: Make Cabal aware of pkg-config package versions
[Skip to Readme]
cabal-pkg-config-version-hook: Make Cabal aware of pkg-config package versions
A setup hook for Cabal that determines the compile-time version of a pkg-config package and adds CPP macros and enables flags.
[Skip to Readme]
Downloads
- cabal-pkg-config-version-hook-0.1.1.0.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] | 0.1.0.0, 0.1.0.1, 0.1.1.0 |
|---|---|
| Change log | CHANGELOG.md |
| Dependencies | base (>=4 && <5), Cabal (>=2.2.0.0), containers, lens, process [details] |
| License | BSD-3-Clause |
| Copyright | cabal-pkg-config-version-hook contributors |
| Author | Robert Hensing |
| Maintainer | info@hercules-ci.com |
| Uploaded | by RobertHensing at 2026-01-06T09:38:51Z |
| Category | Distribution |
| Home page | https://github.com/hercules-ci/hercules-ci-agent/tree/master/cabal-pkg-config-version-hook#readme |
| Distributions | NixOS:0.1.0.1 |
| Downloads | 369 total (7 in the last 30 days) |
| Rating | (no votes yet) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs uploaded by user Build status unknown [no reports yet] |
Readme for cabal-pkg-config-version-hook-0.1.1.0
[back to package description]A Cabal setup hook for pkg-config version info
Cabal doesn't natively give access to version information from pkg-config (yet?). This setup hook gets the version and makes it available via Haskell CPP and C/C++ macros, as well as setting Cabal flags automatically.