Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / ocaml-modules / estring / default.nix
blob7424d14220dc1aed52912e6127d5de2a54837577
1 { lib, buildOcaml, ocaml, fetchurl }:
3 if lib.versionAtLeast ocaml.version "4.06"
4 then throw "estring is not available for OCaml ${ocaml.version}"
5 else
7 buildOcaml rec {
8   name = "estring";
9   version = "1.3";
11   src = fetchurl {
12     url = "https://forge.ocamlcore.org/frs/download.php/1012/estring-${version}.tar.gz";
13     sha256 = "0b6znz5igm8pp28w4b7sgy82rpd9m5aw6ss933rfbw1mrh05gvcg";
14   };
16   meta = with lib; {
17     homepage = "http://estring.forge.ocamlcore.org/";
18     description = "Extension for string literals";
19     license = licenses.bsd3;
20   };