3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/haskell/cabal2nix/default.nix
2013-10-31 09:02:25 +01:00

23 lines
685 B
Nix

{ cabal, Cabal, doctest, filepath, hackageDb, HTTP, mtl, regexPosix
}:
cabal.mkDerivation (self: {
pname = "cabal2nix";
version = "1.55";
sha256 = "0rda8g595pr7vlhzyflw9kz6fw1iz76yimbl1zizgrnpnq3h11w3";
isLibrary = false;
isExecutable = true;
buildDepends = [ Cabal filepath hackageDb HTTP mtl regexPosix ];
testDepends = [ doctest ];
meta = {
homepage = "http://github.com/NixOS/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
];
};
})