diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/sqlite3/default.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/sqlite3/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/sqlite3/default.nix b/pkgs/development/ocaml-modules/sqlite3/default.nix new file mode 100644 index 00000000000..90b469288c7 --- /dev/null +++ b/pkgs/development/ocaml-modules/sqlite3/default.nix @@ -0,0 +1,25 @@ +{ lib, fetchurl, sqlite, pkg-config, buildDunePackage, dune-configurator }: + +buildDunePackage rec { + pname = "sqlite3"; + version = "5.0.2"; + useDune2 = true; + minimumOCamlVersion = "4.05"; + + src = fetchurl { + url = "https://github.com/mmottl/sqlite3-ocaml/releases/download/${version}/sqlite3-${version}.tbz"; + sha256 = "0sba74n0jvzxibrclhbpqscil36yfw7i9jj9q562yhza6rax9p82"; + }; + + nativeBuildInputs = [ pkg-config ]; + buildInputs = [ dune-configurator sqlite ]; + + meta = with lib; { + homepage = "http://mmottl.github.io/sqlite3-ocaml/"; + description = "OCaml bindings to the SQLite 3 database access library"; + license = licenses.mit; + maintainers = with maintainers; [ + maggesi vbgl + ]; + }; +} |