# 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 ];
  };
})
