2015-02-04 10:47:24 +00:00
|
|
|
{ stdenv, fetchurl, sqlite, ocaml, findlib, pkgconfig }:
|
2010-12-11 15:05:26 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2015-02-04 10:47:24 +00:00
|
|
|
name = "ocaml-sqlite3-2.0.8";
|
2010-12-11 15:05:26 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-02-04 10:47:24 +00:00
|
|
|
url = https://github.com/mmottl/sqlite3-ocaml/releases/download/v2.0.8/sqlite3-ocaml-2.0.8.tar.gz;
|
|
|
|
sha256 = "1xalhjg5pbyad6b8cijq7fm5ss7ipjz68hzycggac58rnshwn2ix";
|
2010-12-11 15:05:26 +00:00
|
|
|
};
|
|
|
|
|
2015-02-04 10:47:24 +00:00
|
|
|
buildInputs = [ ocaml findlib pkgconfig sqlite ];
|
2010-12-11 15:05:26 +00:00
|
|
|
|
2010-12-21 09:37:35 +00:00
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
2014-11-11 20:06:40 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://mmottl.github.io/sqlite3-ocaml/;
|
2010-12-11 15:05:26 +00:00
|
|
|
description = "OCaml bindings to the SQLite 3 database access library";
|
2014-11-11 20:06:40 +00:00
|
|
|
license = licenses.mit;
|
2010-12-11 15:05:26 +00:00
|
|
|
platforms = ocaml.meta.platforms;
|
2014-11-11 20:06:40 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
z77z vbgl
|
2010-12-11 15:05:26 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|