2012-02-14 16:59:04 +00:00
|
|
|
{ cabal, Cabal, filepath, hackageDb, HTTP, mtl, regexPosix }:
|
2011-08-10 16:47:35 +01:00
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "cabal2nix";
|
2012-02-14 16:59:04 +00:00
|
|
|
version = "1.26";
|
|
|
|
sha256 = "18gl75y1grhzyhlaz32800gxxfrcl01r7cpx1c63lzpwmdxvk01d";
|
2011-08-23 14:18:32 +01:00
|
|
|
isLibrary = false;
|
2011-08-10 16:47:35 +01:00
|
|
|
isExecutable = true;
|
2012-02-14 16:59:04 +00:00
|
|
|
buildDepends = [ Cabal filepath hackageDb HTTP mtl regexPosix ];
|
2011-08-10 16:47:35 +01: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
|
|
|
|
];
|
|
|
|
};
|
|
|
|
})
|