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

24 lines
750 B
Nix
Raw Normal View History

{ cabal, Cabal, doctest, filepath, hackageDb, HTTP, mtl, regexPosix
}:
cabal.mkDerivation (self: {
pname = "cabal2nix";
version = "1.64";
sha256 = "0fcw8z3rmn2c44879a7fsfb5pz0digkrqnqhbf46ndl432wzj21p";
isLibrary = false;
isExecutable = true;
buildDepends = [ Cabal filepath hackageDb HTTP mtl regexPosix ];
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;
2013-06-05 11:15:27 +02:00
maintainers = [
self.stdenv.lib.maintainers.andres
self.stdenv.lib.maintainers.simons
];
};
})