1{ stdenv, ocaml, findlib, fetchurl, curl, ncurses }:
2
3stdenv.mkDerivation rec {
4 name = "ocurl-0.7.5";
5 src = fetchurl {
6 url = "https://forge.ocamlcore.org/frs/download.php/1463/${name}.tar.bz2";
7 sha256 = "0yn7f3g5wva8nqxh76adpq9rihggc405jkqysfghzwnf3yymyqrr";
8 };
9
10 buildInputs = [ocaml findlib curl ncurses];
11 createFindlibDestdir = true;
12 meta = {
13 description = "OCaml bindings to libcurl";
14 license = stdenv.lib.licenses.bsd3;
15 homepage = http://ocurl.forge.ocamlcore.org/;
16 maintainers = with stdenv.lib.maintainers; [ bennofs ];
17 platforms = ocaml.meta.platforms;
18 };
19}