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]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0
Change log CHANGELOG.md
Dependencies base (>=4 && <5), Cabal (>=2.2.0.0), lens, process [details]
License BSD-3-Clause
Copyright cabal-pkg-config-version-hook contributors
Author Robert Hensing
Maintainer info@hercules-ci.com
Category Distribution
Home page https://github.com/hercules-ci/hercules-ci-agent/tree/master/cabal-pkg-config-version-hook#readme
Uploaded by RobertHensing at 2022-03-07T16:03:56Z
Distributions NixOS:0.1.0.0
Downloads 47 total (4 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-0.1.0.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.