hackage

On Cygwin, how do I install curl from hackage?

From a Windows command prompt, c:\>cabal install curl Resolving dependencies... Configuring curl-1.3.5... cabal: Error: some packages failed to install: curl-1.3.5 failed during the configure step. The exception was: sh: runGenProcess: does not exist (No such file or directory) I have installed Cygwin's curl-devel package, but from a C...

How do I create a suitable .tar.gz file for use with `cabal upload`?

The standard way to share a Haskell library with other programmers is to create a Cabal package and upload it to http://hackage.haskell.org. I've written a library I wish to share, and I've successfully created a Cabal package using the guidelines online for creating cabal files. I've built the package and installed it locallyworks fi...

hackage package dependencies and future-proof libraries

In the dependencies section of a cabal file: Build-Depends: base >= 3 && < 5, transformers >= 0.2.0 Should I be doing something like Build-Depends: base >= 3 && < 5, transformers >= 0.2.0 && < 0.3.0 (putting upper limits on versions of packages I depend on) or not? I'll use a real example: my "List" package on Hackage (List monad...

mysterious cabal-install problems

With a clean install of the "Haskell Platform". (OS X Snow-Leopard & Platform 2010.1.0.1), doing this causes simple sequence causes very weird cabal install behaviour: $ cabal install time $ cabal install random $ ghc-pkg list random /Library/Frameworks/GHC.framework/Versions/612/usr/lib/ghc-6.12.1/package.conf.d random-1.0.0.2 /Us...

Conventions for Stability field of Cabal packages

Cabal allows for a freeform Stability field: stability: freeform The stability level of the package, e.g. alpha, experimental, provisional, stable. What are the community conventions about these stability values? What is considered experimental and what is provisional? I see only few packages are declared as stable. Wh...

Authentication for hackage downloads?

Is there any way to ensure authenticity of downloads from hackage? As far as I can see, there's nothing. No https for hackage, and neither (strong) checksums for tarballs, and neither are they signed. So: how can I verify the authenticity of downloads from hackage? ...