2011-08-26 03:29:17 -07:00
|
|
|
{ cabal, hackageDb, HTTP, mtl, nixosTypes, regexPosix }:
|
2011-08-10 08:47:35 -07:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "cabal2nix";
|
2012-01-29 08:24:14 -08:00
|
|
|
version = "1.24";
|
|
|
|
sha256 = "1k0dqj64z08n1kgdjgdk3ra3l8xw1bg7yh0s8s4pv5g2ajwj2f83";
|
2011-08-23 06:18:32 -07:00
|
|
|
isLibrary = false;
|
2011-08-10 08:47:35 -07:00
|
|
|
isExecutable = true;
|
2011-08-26 03:29:17 -07:00
|
|
|
buildDepends = [ hackageDb HTTP mtl nixosTypes regexPosix ];
|
2011-08-10 08:47:35 -07: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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
})
|