2013-06-04 20:36:11 +02:00
|
|
|
{stdenv, fetchurl, sqlite, ocaml, findlib, pkgconfig}:
|
2010-12-11 16:05:26 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-11-11 21:06:40 +01:00
|
|
|
name = "ocaml-sqlite3-2.0.7";
|
2010-12-11 16:05:26 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-11-11 21:06:40 +01:00
|
|
|
url = https://github.com/mmottl/sqlite3-ocaml/archive/v2.0.7.tar.gz;
|
|
|
|
sha256 = "04m7qz251m6l2b7slkgml2j8bnx60lwzbdbsv95vidwzqcwg7bdq";
|
2010-12-11 16:05:26 +01:00
|
|
|
};
|
|
|
|
|
2014-11-11 21:06:40 +01:00
|
|
|
buildInputs = [ocaml findlib pkgconfig sqlite];
|
2010-12-11 16:05:26 +01:00
|
|
|
|
2010-12-21 10:37:35 +01:00
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
2014-11-11 21:06:40 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://mmottl.github.io/sqlite3-ocaml/;
|
2010-12-11 16:05:26 +01:00
|
|
|
description = "OCaml bindings to the SQLite 3 database access library";
|
2014-11-11 21:06:40 +01:00
|
|
|
license = licenses.mit;
|
2010-12-11 16:05:26 +01:00
|
|
|
platforms = ocaml.meta.platforms;
|
2014-11-11 21:06:40 +01:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
z77z vbgl
|
2010-12-11 16:05:26 +01:00
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|