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

[ bsd3, distribution, library ] [ Propose Tags ] [ Report a vulnerability ]

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

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1
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 2023-06-27T22:50:11Z
Distributions NixOS:0.1.0.1
Downloads 301 total (13 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.0.1

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