ocamlPackages.mariadb: init at 1.1.4

This commit is contained in:
Aaron L. Zeng 2021-01-23 22:22:59 -05:00 committed by Vincent Laporte
parent f58c4e236f
commit 5b13986979
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, lib, fetchFromGitHub, buildOasisPackage
, ctypes, mariadb, libmysqlclient }:
buildOasisPackage rec {
pname = "mariadb";
version = "1.1.4";
minimumOCamlVersion = "4.07.0";
src = fetchFromGitHub {
owner = "andrenth";
repo = "ocaml-mariadb";
rev = version;
sha256 = "1rxqvxr6sv4x2hsi05qm9jz0asaq969m71db4ckl672rcql1kwbr";
};
buildInputs = [ mariadb libmysqlclient ];
propagatedBuildInputs = [ ctypes ];
meta = {
description = "OCaml bindings for MariaDB";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ bcc32 ];
homepage = "https://github.com/andrenth/ocaml-mariadb";
};
}

View File

@ -564,6 +564,10 @@ let
magick = callPackage ../development/ocaml-modules/magick { };
mariadb = callPackage ../development/ocaml-modules/mariadb {
inherit (pkgs) mariadb;
};
markup = callPackage ../development/ocaml-modules/markup { };
mdx = callPackage ../development/ocaml-modules/mdx { };