2017-11-14 18:43:21 +01:00
|
|
|
{ stdenv, buildOcaml, fetchurl, batteries, csv, ocaml_lwt, ocaml_sqlite3, estring }:
|
2016-06-01 17:04:55 +02:00
|
|
|
|
|
|
|
buildOcaml rec {
|
|
|
|
name = "sqlexpr";
|
|
|
|
version = "0.5.5";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://forge.ocamlcore.org/frs/download.php/1203/ocaml-sqlexpr-${version}.tar.gz";
|
|
|
|
sha256 = "02pi0xxr3xzalwpvcaq96k57wz2vxj20l2mga1a4d2ddvhran8kr";
|
|
|
|
};
|
|
|
|
|
2017-11-14 18:43:21 +01:00
|
|
|
propagatedBuildInputs = [ batteries csv ocaml_lwt ocaml_sqlite3 estring ];
|
2016-06-01 17:04:55 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-11-10 22:13:27 +01:00
|
|
|
homepage = https://github.com/mfp/ocaml-sqlexpr;
|
2016-06-01 17:04:55 +02:00
|
|
|
description = "Type-safe, convenient SQLite database access";
|
|
|
|
license = licenses.lgpl21;
|
|
|
|
};
|
|
|
|
}
|