about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/sqlexpr/default.nix
blob: 6d1654f2b42f7696a10e0bdb0728d4bb76e4efb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, buildOcaml, fetchurl, ocaml_batteries, csv, ocaml_lwt, ocaml_sqlite3, estring }:

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";
  };

  propagatedBuildInputs = [ ocaml_batteries csv ocaml_lwt ocaml_sqlite3 estring ];

  meta = with stdenv.lib; {
    homepage = https://github.com/mfp/ocaml-sqlexpr;
    description = "Type-safe, convenient SQLite database access";
    license = licenses.lgpl21;
  };
}