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