cabal-pkg-config-version-hook: Make Cabal aware of pkg-config package versions

[ bsd3, distribution, library ] [ Propose Tags ]

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]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS]
Change log
Dependencies base (>=4 && <5), Cabal (>=, lens, process [details]
License BSD-3-Clause
Copyright cabal-pkg-config-version-hook contributors
Author Robert Hensing
Category Distribution
Home page
Uploaded by RobertHensing at 2022-03-07T16:03:56Z
Distributions NixOS:
Downloads 124 total (10 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-03-07 [all 1 reports]

Readme for cabal-pkg-config-version-hook-

[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.