nixpkgs-suyu/pkgs/development/tools/haskell/cabal2nix/default.nix

26 lines
803 B
Nix
Raw Normal View History

# 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.69";
sha256 = "0430086lh1h7w8wxc42aqrdjb8i12vz8m0jr1q2c45h3k6brb5r5";
isLibrary = false;
isExecutable = true;
buildDepends = [
Cabal filepath hackageDb mtl regexPosix transformers
];
testDepends = [ doctest ];
doCheck = self.stdenv.lib.versionOlder "7.6" 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 ];
};
})