diff options
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/ocaml-modules/estring/default.nix | 17 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/development/ocaml-modules/estring/default.nix b/pkgs/development/ocaml-modules/estring/default.nix new file mode 100644 index 00000000000..8bfab87fc39 --- /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/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 65fced534a8..2b3f8176ad9 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4916,6 +4916,8 @@ in erm_xmpp = callPackage ../development/ocaml-modules/erm_xmpp { }; + estring = callPackage ../development/ocaml-modules/estring { }; + ezjsonm = callPackage ../development/ocaml-modules/ezjsonm { lwt = ocaml_lwt; }; |