2011-08-23 15:18:32 +02:00
|
|
|
{ cabal, HTTP, mtl, nixosTypes, regexPosix }:
|
2011-08-10 17:47:35 +02:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "cabal2nix";
|
2011-08-23 15:18:32 +02:00
|
|
|
version = "1.12";
|
|
|
|
sha256 = "14bijci07hkm3ksbqpzbnmwiysy5s3ll89r2iqkr1rbmj7bqxdwy";
|
|
|
|
isLibrary = false;
|
2011-08-10 17:47:35 +02:00
|
|
|
isExecutable = true;
|
2011-08-23 15:18:32 +02:00
|
|
|
buildDepends = [ 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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
})
|