diff options
Diffstat (limited to 'pkgs/development/ocaml-modules')
5 files changed, 39 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/cpdf/default.nix b/pkgs/development/ocaml-modules/cpdf/default.nix index d29136dd434e..66294206e66c 100644 --- a/pkgs/development/ocaml-modules/cpdf/default.nix +++ b/pkgs/development/ocaml-modules/cpdf/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation { src = fetchgit { url = https://github.com/johnwhitington/cpdf-source.git; rev = "refs/tags/v${version}"; - sha256 = "0c482wfa5q845k0ahx8irg1jl05ncn0kv42dg08zkph7xi6dmgnv"; + sha256 = "01dq7z3admwnyp22z1h43a8f3glii3zxc9c7i6s2rgza3pd9jq4k"; }; buildInputs = [ ocaml findlib ncurses ]; diff --git a/pkgs/development/ocaml-modules/estring/default.nix b/pkgs/development/ocaml-modules/estring/default.nix new file mode 100644 index 000000000000..8bfab87fc397 --- /dev/null +++ b/pkgs/development/ocaml-modules/estring/default.nix @@ -0,0 +1,17 @@ +{ stdenv, buildOcaml, fetchurl }: + +buildOcaml rec { + name = "estring"; + version = "1.3"; + + src = fetchurl { + url = "https://forge.ocamlcore.org/frs/download.php/1012/estring-${version}.tar.gz"; + sha256 = "0b6znz5igm8pp28w4b7sgy82rpd9m5aw6ss933rfbw1mrh05gvcg"; + }; + + meta = with stdenv.lib; { + homepage = "http://estring.forge.ocamlcore.org/"; + description = "Extension for string literals"; + license = licenses.bsd3; + }; +} diff --git a/pkgs/development/ocaml-modules/ocamlfuse/default.nix b/pkgs/development/ocaml-modules/ocamlfuse/default.nix index ce9f2cc02ed9..eaf5c8c20f6f 100644 --- a/pkgs/development/ocaml-modules/ocamlfuse/default.nix +++ b/pkgs/development/ocaml-modules/ocamlfuse/default.nix @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { src = fetchgit { url = "https://github.com/astrada/ocamlfuse"; rev = "c436c16dbf458bc69b1166b08baf9ec0d6f9042d"; - sha256 = "4a72097cbcb375c2be92a5c9a44f3511670fac0815d6d00f38dc7c6879e9825d"; + sha256 = "0br9x3vsbg87sar5g6yi3xfszn5icy4fv71waarccc2dr79pvakz"; }; buildInputs = [ocaml findlib]; diff --git a/pkgs/development/ocaml-modules/ojquery/default.nix b/pkgs/development/ocaml-modules/ojquery/default.nix index 054303ac8500..93da2ed693aa 100644 --- a/pkgs/development/ocaml-modules/ojquery/default.nix +++ b/pkgs/development/ocaml-modules/ojquery/default.nix @@ -6,7 +6,7 @@ stdenv.mkDerivation rec { src = fetchgit { url = https://github.com/ocsigen/ojquery.git; rev = "refs/tags/${version}"; - sha256 = "1x3cidxxjyw0g7afvczdy6chw3nxb0dcz2psgxchqgv34dcwf0l0"; + sha256 = "1n01bsk4car40p94fk1ssvww0inqapwwhdylmrb7vv40drsdldp1"; }; buildInputs = [ ocaml findlib ]; 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; + }; +} |