1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/development/ocaml-modules/sqlexpr/default.nix
Vincent Laporte 26798bd6e0
ocamlPackages.batteries: 2.7.0 -> 2.8.0
Also renames the attribute from ocaml_batteries to batteries.
2017-11-14 17:53:53 +00:00

20 lines
597 B
Nix

{ stdenv, buildOcaml, fetchurl, 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 = [ 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;
};
}