diff options
author | Aaron L. Zeng <me@bcc32.com> | 2021-01-23 22:22:59 -0500 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2021-01-30 11:37:36 +0100 |
commit | 5b13986979cd15a31c9cc963a17715f32ca3fd80 (patch) | |
tree | f34a7bab04b4c35f858ab90de1e1aa680268a1e7 /pkgs/development | |
parent | f58c4e236f92df8d7887ce3450a3989f80ae1f6c (diff) |
ocamlPackages.mariadb: init at 1.1.4
Diffstat (limited to 'pkgs/development')
-rw-r--r-- | pkgs/development/ocaml-modules/mariadb/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/mariadb/default.nix b/pkgs/development/ocaml-modules/mariadb/default.nix new file mode 100644 index 000000000000..ed3e5999b416 --- /dev/null +++ b/pkgs/development/ocaml-modules/mariadb/default.nix @@ -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"; + }; +} |