nixpkgs-suyu/pkgs/development/tools/haskell/cabal2nix/default.nix
2014-12-05 19:14:45 +01:00

25 lines
803 B
Nix

# This file was auto-generated by cabal2nix. Please do NOT edit manually!
{ cabal, Cabal, doctest, filepath, hackageDb, mtl, regexPosix
, transformers
}:
cabal.mkDerivation (self: {
pname = "cabal2nix";
version = "1.72";
sha256 = "0xa7v9nwhaymc40qlh7ndv6xvqmfxmc3rp860v0h4swfqsb9bsvr";
isLibrary = false;
isExecutable = true;
buildDepends = [
Cabal filepath hackageDb mtl regexPosix transformers
];
testDepends = [ doctest ];
doCheck = self.stdenv.lib.versionOlder "7.8" self.ghc.version;
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 = with self.stdenv.lib.maintainers; [ simons ];
};
})