nixpkgs/pkgs/development/tools/haskell/cabal2nix/default.nix
2012-11-20 14:02:04 +01:00

21 lines
647 B
Nix

{ cabal, Cabal, filepath, hackageDb, HTTP, mtl, regexPosix }:
cabal.mkDerivation (self: {
pname = "cabal2nix";
version = "1.41";
sha256 = "1mwq6scmhnyclzpmxp62m09hml2jqcj5bpz2qailnwjkslgl8b1h";
isLibrary = false;
isExecutable = true;
buildDepends = [ Cabal filepath hackageDb HTTP mtl regexPosix ];
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
self.stdenv.lib.maintainers.simons
];
};
})