nixpkgs/pkgs/development/libraries/haskell/cabal2nix/default.nix
Peter Simons 24979c3495 cabal2nix: updated to version 1.7
The new version can read Cabal files via HTTP, and it can also determine
the hash automatically. Hence, generating a build expression is now a
matter of running:

  cabal2nix http://hackage.haskell.org/packages/archive/cabal2nix/1.7/cabal2nix.cabal

svn path=/nixpkgs/trunk/; revision=28183
2011-08-05 19:41:54 +00:00

16 lines
489 B
Nix

{cabal,HTTP}:
cabal.mkDerivation (self : {
pname = "cabal2nix";
version = "1.7";
sha256 = "1inb1rv11dphgvg72zyfmzkcmw7dac1jrc40s7frhvwjhrnr4syv";
propagatedBuildInputs = [HTTP];
meta = {
homepage = "http://github.com/peti/cabal2nix";
description = "Convert Cabal files into Nix build instructions";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.stdenv.lib.platforms.haskellPlatforms;
maintainers = [ self.stdenv.lib.maintainers.simons ];
};
})