mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-28 16:17:42 +03:00
Merge pull request #15924 from wizeman/u/ocaml-sqlexpr
Add ocamlPackages.sqlexpr and ocamlPackages.estring
This commit is contained in:
commit
8ff2d76f7a
17
pkgs/development/ocaml-modules/estring/default.nix
Normal file
17
pkgs/development/ocaml-modules/estring/default.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
19
pkgs/development/ocaml-modules/sqlexpr/default.nix
Normal file
19
pkgs/development/ocaml-modules/sqlexpr/default.nix
Normal file
@ -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;
|
||||||
|
};
|
||||||
|
}
|
@ -4916,6 +4916,8 @@ in
|
|||||||
|
|
||||||
erm_xmpp = callPackage ../development/ocaml-modules/erm_xmpp { };
|
erm_xmpp = callPackage ../development/ocaml-modules/erm_xmpp { };
|
||||||
|
|
||||||
|
estring = callPackage ../development/ocaml-modules/estring { };
|
||||||
|
|
||||||
ezjsonm = callPackage ../development/ocaml-modules/ezjsonm {
|
ezjsonm = callPackage ../development/ocaml-modules/ezjsonm {
|
||||||
lwt = ocaml_lwt;
|
lwt = ocaml_lwt;
|
||||||
};
|
};
|
||||||
@ -5095,6 +5097,8 @@ in
|
|||||||
|
|
||||||
sequence = callPackage ../development/ocaml-modules/sequence { };
|
sequence = callPackage ../development/ocaml-modules/sequence { };
|
||||||
|
|
||||||
|
sqlexpr = callPackage ../development/ocaml-modules/sqlexpr { };
|
||||||
|
|
||||||
tuntap = callPackage ../development/ocaml-modules/tuntap { };
|
tuntap = callPackage ../development/ocaml-modules/tuntap { };
|
||||||
|
|
||||||
tyxml = callPackage ../development/ocaml-modules/tyxml { };
|
tyxml = callPackage ../development/ocaml-modules/tyxml { };
|
||||||
|
Loading…
Reference in New Issue
Block a user