cabal-db: query tools for the local cabal database

[ bsd3, program, tools ] [ Propose Tags ]

Query tool for the local cabal database

  • Diff between package versions

  • List reverse dependencies (revdeps)

  • Search by author or maintainer

  • Generate graphs of dependencies in dot format

  • List licenses of package and their dependencies

  • List all the upper version bounds that could be bumped for a list of packages

  • List dependencies constraint policy in package

  • List package's contraint policy for dependency on specific package

[Skip to Readme]


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.1.0, 0.1.1, 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
Dependencies ansi-wl-pprint, base (>=4 && <4.9), bytestring, Cabal (<2), containers, directory, filepath, mtl, optparse-applicative (>=0.11 && <0.14), pretty, process, tar (>=0.4.0), utf8-string [details]
License BSD-3-Clause
Copyright Vincent Hanquez <>
Author Vincent Hanquez <>
Maintainer Vincent Hanquez <>
Revised Revision 1 made by AndreasAbel at 2021-12-16T19:23:13Z
Category Tools
Home page
Source repo head: git clone git://
Uploaded by VincentHanquez at 2015-03-11T04:57:53Z
Reverse Dependencies 1 direct, 0 indirect [details]
Executables cabal-db
Downloads 10450 total (39 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2015-12-10 [all 10 reports]

Readme for cabal-db-0.1.12

[back to package description]

A simple tool for cabal database query

Build Status BSD Haskell

A misc set of tools to operate misc queries on the local cabal database and the associated packages


  • diff: run the diff command between two different versions of a package.
  • revdeps: print all reverse dependencies of a package.
  • info: print all available versions of a package and some misc information.
  • search-author: search all the database for match in the author field.
  • search-maintainer: search all the database for match in the maintainer field.
  • graph: generate a dot format graph of the dependency
  • license: list all licenses used by packages and their dependencies
  • bumpable: list all the upper version bounds that could be bumped for a list of packages
  • check-policy: list the contraints type (policy) of dependency of packages
  • check-revdeps-policy: list the contraints type (policy) of a specific package as used by all packages

Check the original blog post for more information: