b8826951e4
ocaml+twt is an alternative syntax for OCaml that uses indentation to group multi-line expressions, like Python and Haskell. Homepage: http://people.csail.mit.edu/mikelin/ocaml+twt/ sqlite3EZ is a thin wrapper for sqlite3-ocaml with a simplified interface. Query results are processed with a functional map/fold, transactions are aborted by exceptions, resource management is handled by the garbage collector, etc. Homepage: https://github.com/mlin/ocaml-sqlite3EZ
23 lines
644 B
Nix
23 lines
644 B
Nix
{stdenv, fetchurl, ocaml, findlib, twt, ocaml_sqlite3 }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ocaml-sqlite3EZ-0.1.0";
|
|
|
|
src = fetchurl {
|
|
url = https://github.com/mlin/ocaml-sqlite3EZ/archive/v0.1.0.tar.gz;
|
|
sha256 = "8ed2c5d5914a65cbd95589ef11bfb8b38a020eb850cdd49b8adce7ee3a563748";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib twt ];
|
|
|
|
propagatedBuildInputs = [ ocaml_sqlite3 ];
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = {
|
|
homepage = http://github.com/mlin/ocaml-sqlite3EZ;
|
|
description = "A thin wrapper for sqlite3-ocaml with a simplified interface";
|
|
license = stdenv.lib.licenses.mit;
|
|
platforms = ocaml.meta.platforms;
|
|
};
|
|
}
|