BibTeX entries for packages on Hackage

Duncan Coutts duncan.coutts at
Thu Nov 26 09:18:53 EST 2009

On Thu, 2009-11-26 at 01:14 +0100, Henning Thielemann wrote:
> Recently I wanted to refer to a Haskell package at Hackage in a paper
> and I thought it would be a good idea to automatically generate BibTeX
> entries for every uploaded package. I have attached a module that
> generates a BibTeX entry from the upload time and the package
> description. It will still need some fine tuning, e.g. LaTeX escapes for
> non-ASCII characters.
>   I have pulled the hackage-scripts package to my machine and like to know
> where to add something - if the feature is wanted, at all. I expect that
> the BibTeX entry should be generated at upload time and should be
> mentioned in the main package page if it exists.

Fun :-)

If you really want it included, can I suggest you add it to the new
hackage-server implementation. On the assumption that generating the
resource is relatively cheap, I suggest just generating it on demand
rather than caching anything. In the new server the PackageDescription
for each package is always kept in memory. So it looks like it would be
very cheap.

darcs get


More information about the cabal-devel mailing list