mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Add mysql haskell package
This commit is contained in:
parent
adc2e19118
commit
7ab3adcaa2
15
pkgs/development/libraries/haskell/mysql/default.nix
Normal file
15
pkgs/development/libraries/haskell/mysql/default.nix
Normal 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;
|
||||
};
|
||||
})
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user