2011-08-26 12:29:17 +02:00
|
|
|
{ cabal, hackageDb, HTTP, mtl, nixosTypes, regexPosix }:
|
2011-08-10 17:47:35 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "cabal2nix";
|
2011-12-25 17:18:34 +01:00
|
|
|
version = "1.23";
|
|
|
|
sha256 = "1rnvnzwb4n89hq4wpyq1h6x773r7y23clqj5slsfnas7j3alzz8c";
|
2011-08-23 15:18:32 +02:00
|
|
|
isLibrary = false;
|
2011-08-10 17:47:35 +02:00
|
|
|
isExecutable = true;
|
2011-08-26 12:29:17 +02:00
|
|
|
buildDepends = [ hackageDb HTTP mtl nixosTypes regexPosix ];
|
2011-08-10 17:47:35 +02:00
|
|
|
meta = {
|
|
|
|
homepage = "http://github.com/haskell4nix/cabal2nix";
|
|
|
|
description = "Convert Cabal files into Nix build instructions";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [
|
|
|
|
self.stdenv.lib.maintainers.andres
|
|
|
|
self.stdenv.lib.maintainers.simons
|
|
|
|
];
|
|
|
|
};
|
|
|
|
})
|