12 if lib.versionOlder ocaml.version "4.04" then
13 throw "ocurl is not available for OCaml ${ocaml.version}"
15 stdenv.mkDerivation rec {
20 url = "https://github.com/ygrek/ocurl/releases/download/${version}/ocurl-${version}.tar.gz";
21 sha256 = "sha256-4DWXGMh02s1VwLWW5d7h0jtMOUubWmBPGm1hghfWd2M=";
29 propagatedBuildInputs = [
37 createFindlibDestdir = true;
39 description = "OCaml bindings to libcurl";
40 license = lib.licenses.mit;
41 homepage = "http://ygrek.org.ua/p/ocurl/";
42 maintainers = with lib.maintainers; [
46 platforms = ocaml.meta.platforms or [ ];