forked from mirrors/nixpkgs
3b2254a3af
There is no point in receiving hundreds of e-mails; I cannot read them anyway.
20 lines
634 B
Nix
20 lines
634 B
Nix
{ cabal, Cabal, doctest, filepath, hackageDb, HTTP, mtl, regexPosix
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "cabal2nix";
|
|
version = "1.49";
|
|
sha256 = "1zrxgaw1lqnnyk4xd0skdc72yq3xfx3vfg1sfgrs3235njraa20i";
|
|
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 ];
|
|
};
|
|
})
|