ocamlPackages.mariadb: init at 1.1.4
This commit is contained in:
parent
f58c4e236f
commit
5b13986979
26
pkgs/development/ocaml-modules/mariadb/default.nix
Normal file
26
pkgs/development/ocaml-modules/mariadb/default.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user