mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
Add mysql-simple haskell package
This commit is contained in:
parent
7ab3adcaa2
commit
25476fe25a
19
pkgs/development/libraries/haskell/mysql-simple/default.nix
Normal file
19
pkgs/development/libraries/haskell/mysql-simple/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ cabal, attoparsec, base16Bytestring, blazeBuilder, blazeTextual
|
||||
, mysql, pcreLight, text, time
|
||||
}:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "mysql-simple";
|
||||
version = "0.2.2.4";
|
||||
sha256 = "044grjly1gyrgba2bfrii2pa14ff7v14ncyk3kj01g1zdxnwqjh6";
|
||||
buildDepends = [
|
||||
attoparsec base16Bytestring blazeBuilder blazeTextual mysql
|
||||
pcreLight text time
|
||||
];
|
||||
meta = {
|
||||
homepage = "https://github.com/bos/mysql-simple";
|
||||
description = "A mid-level MySQL client library";
|
||||
license = self.stdenv.lib.licenses.bsd3;
|
||||
platforms = self.ghc.meta.platforms;
|
||||
};
|
||||
})
|
|
@ -1760,6 +1760,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
|
|||
inherit (pkgs) zlib;
|
||||
};
|
||||
|
||||
mysqlSimple = callPackage ../development/libraries/haskell/mysql-simple {};
|
||||
|
||||
NanoProlog = callPackage ../development/libraries/haskell/NanoProlog {};
|
||||
|
||||
nanospec = callPackage ../development/libraries/haskell/nanospec {};
|
||||
|
|
Loading…
Reference in a new issue