nixpkgs/pkgs/development/libraries/haskell/cabal2nix/default.nix
Peter Simons c4b18a282f pkgs/development/libraries/haskell/cabal2nix: added missing regexPosix dependency
Also, it's not necessary to propagate our build inputs; we build just executables.

svn path=/nixpkgs/trunk/; revision=28417
2011-08-09 09:47:46 +00:00

21 lines
532 B
Nix

{ fetchgit, cabal, HTTP, regexPosix }:
cabal.mkDerivation (self : {
pname = "cabal2nix";
version = "v1.8-beta-11";
src = fetchgit {
url = "git://github.com/peti/cabal2nix.git";
rev = "aeba53e8da1250603b227ad2c705eee446cd3337";
};
extraBuildInputs = [HTTP regexPosix];
meta = {
homepage = "http://github.com/peti/cabal2nix";
description = "Convert Cabal files into Nix build instructions";
license = self.stdenv.lib.licenses.bsd3;
maintainers = [ self.stdenv.lib.maintainers.simons ];
};
})