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