Add mysql haskell package

This commit is contained in:
Shea Levy 2014-03-04 09:11:14 -05:00
parent adc2e19118
commit 7ab3adcaa2
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,15 @@
{ cabal, mysqlConfig, zlib }:
cabal.mkDerivation (self: {
pname = "mysql";
version = "0.1.1.6";
sha256 = "1sxzx5f4ysxhq1nimkj4xwf87i7prwp5wg0kjbhv9pbn65zc9mmj";
buildTools = [ mysqlConfig ];
extraLibraries = [ zlib ];
meta = {
homepage = "https://github.com/bos/mysql";
description = "A low-level MySQL client library";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -1755,6 +1755,11 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
mwcRandom = callPackage ../development/libraries/haskell/mwc-random {};
mysql = callPackage ../development/libraries/haskell/mysql {
mysqlConfig = pkgs.mysql;
inherit (pkgs) zlib;
};
NanoProlog = callPackage ../development/libraries/haskell/NanoProlog {};
nanospec = callPackage ../development/libraries/haskell/nanospec {};