nixpkgs-suyu/pkgs/development/libraries/haskell/persistent-mysql/default.nix
2014-03-30 14:51:36 +08:00

19 lines
643 B
Nix

{ cabal, aeson, blazeBuilder, conduit, monadControl, mysql
, mysqlSimple, persistent, resourcet, text, transformers
}:
cabal.mkDerivation (self: {
pname = "persistent-mysql";
version = "1.3.0.2";
sha256 = "0yv2f8zqypbp5swdpxmgnfmmfsr6lwhb27k0hl9bh7ya76anhvqy";
buildDepends = [
aeson blazeBuilder conduit monadControl mysql mysqlSimple
persistent resourcet text transformers
];
meta = {
homepage = "http://www.yesodweb.com/book/persistent";
description = "Backend for the persistent library using MySQL database server";
license = self.stdenv.lib.licenses.mit;
platforms = self.ghc.meta.platforms;
};
})