summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/sqlite3/default.nix
blob: f47d7d37631fd58d8f684036548c2cb319b47273 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, fetchurl, sqlite, pkgconfig, buildDunePackage }:

buildDunePackage rec {
  pname = "sqlite3";
  version = "5.0.1";
  minimumOCamlVersion = "4.05";

  src = fetchurl {
    url = "https://github.com/mmottl/sqlite3-ocaml/releases/download/${version}/sqlite3-${version}.tbz";
    sha256 = "0iymkszrs6qwak0vadfzc8yd8jfwn06zl08ggb4jr2mgk2c8mmsn";
  };

  nativeBuildInputs = [ pkgconfig ];
  buildInputs = [ 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
    ];
  };
}