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";
|
2014-07-10 13:12:14 +02:00
|
|
|
version = "1.64";
|
|
|
|
sha256 = "0fcw8z3rmn2c44879a7fsfb5pz0digkrqnqhbf46ndl432wzj21p";
|
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 ];
|
2013-12-29 12:06:35 +01:00
|
|
|
doCheck = self.stdenv.lib.versionOlder "7.6" self.ghc.version;
|
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-06-05 11:15:27 +02:00
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
2011-08-10 17:47:35 +02:00
|
|
|
};
|
|
|
|
})
|