2013-02-25 00:13:44 +00:00
|
|
|
{ cabal, Cabal, doctest, filepath, hackageDb, HTTP, mtl, regexPosix
|
|
|
|
}:
|
2011-08-10 16:47:35 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "cabal2nix";
|
2013-04-06 14:56:27 +01:00
|
|
|
version = "1.49";
|
|
|
|
sha256 = "1zrxgaw1lqnnyk4xd0skdc72yq3xfx3vfg1sfgrs3235njraa20i";
|
2011-08-23 14:18:32 +01:00
|
|
|
isLibrary = false;
|
2011-08-10 16:47:35 +01:00
|
|
|
isExecutable = true;
|
2012-02-14 16:59:04 +00:00
|
|
|
buildDepends = [ Cabal filepath hackageDb HTTP mtl regexPosix ];
|
2013-02-25 00:13:44 +00:00
|
|
|
testDepends = [ doctest ];
|
2011-08-10 16:47:35 +01:00
|
|
|
meta = {
|
2012-02-16 17:48:28 +00:00
|
|
|
homepage = "http://github.com/NixOS/cabal2nix";
|
2011-08-10 16:47:35 +01:00
|
|
|
description = "Convert Cabal files into Nix build instructions";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
2013-05-10 23:36:36 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
2011-08-10 16:47:35 +01:00
|
|
|
};
|
|
|
|
})
|