diff options
author | Ricardo M. Correia <rcorreia@wizy.org> | 2016-06-01 17:04:55 +0200 |
---|---|---|
committer | Ricardo M. Correia <rcorreia@wizy.org> | 2016-06-02 18:04:41 +0200 |
commit | d1be5453313b3d6e132f59ce973b6cdaf2a46053 (patch) | |
tree | f9133afec05c411742e225163c4183bc884f8569 /pkgs/development/ocaml-modules | |
parent | 58fb33a08d5ac70138ab93d676392e135b03ac2e (diff) | |
download | nixlib-d1be5453313b3d6e132f59ce973b6cdaf2a46053.tar nixlib-d1be5453313b3d6e132f59ce973b6cdaf2a46053.tar.gz nixlib-d1be5453313b3d6e132f59ce973b6cdaf2a46053.tar.bz2 nixlib-d1be5453313b3d6e132f59ce973b6cdaf2a46053.tar.lz nixlib-d1be5453313b3d6e132f59ce973b6cdaf2a46053.tar.xz nixlib-d1be5453313b3d6e132f59ce973b6cdaf2a46053.tar.zst nixlib-d1be5453313b3d6e132f59ce973b6cdaf2a46053.zip |
ocamlPackages.sqlexpr: init at 0.5.5
Diffstat (limited to 'pkgs/development/ocaml-modules')
-rw-r--r-- | pkgs/development/ocaml-modules/sqlexpr/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/sqlexpr/default.nix b/pkgs/development/ocaml-modules/sqlexpr/default.nix new file mode 100644 index 000000000000..f5f32e9bc030 --- /dev/null +++ b/pkgs/development/ocaml-modules/sqlexpr/default.nix @@ -0,0 +1,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 = "http://github.com/mfp/ocaml-sqlexpr"; + description = "Type-safe, convenient SQLite database access"; + license = licenses.lgpl21; + }; +} |