2015-01-25 21:08:33 +00:00
|
|
|
{ stdenv, ocaml, findlib, fetchurl, curl, ncurses }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-10-01 12:05:09 +00:00
|
|
|
name = "ocurl-0.7.8";
|
2015-01-25 21:08:33 +00:00
|
|
|
src = fetchurl {
|
2015-08-20 15:05:02 +00:00
|
|
|
url = "https://forge.ocamlcore.org/frs/download.php/1463/${name}.tar.bz2";
|
2015-01-25 21:08:33 +00:00
|
|
|
sha256 = "0yn7f3g5wva8nqxh76adpq9rihggc405jkqysfghzwnf3yymyqrr";
|
|
|
|
};
|
|
|
|
|
2017-04-28 16:10:11 +00:00
|
|
|
buildInputs = [ ocaml findlib ncurses ];
|
|
|
|
propagatedBuildInputs = [ curl ];
|
2015-01-25 21:08:33 +00:00
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = {
|
|
|
|
description = "OCaml bindings to libcurl";
|
2015-01-26 08:48:08 +00:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2015-01-25 21:08:33 +00:00
|
|
|
homepage = http://ocurl.forge.ocamlcore.org/;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ bennofs ];
|
2015-12-24 17:49:07 +00:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2015-01-25 21:08:33 +00:00
|
|
|
};
|
|
|
|
}
|