2017-12-03 11:27:30 +01:00
|
|
|
{ stdenv, pkgconfig, ocaml, findlib, fetchurl, curl, ncurses }:
|
2015-01-25 22:08:33 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-05-14 09:12:44 +02:00
|
|
|
name = "ocurl-0.8.1";
|
2015-01-25 22:08:33 +01:00
|
|
|
src = fetchurl {
|
2017-12-03 11:27:30 +01:00
|
|
|
url = "http://ygrek.org.ua/p/release/ocurl/${name}.tar.gz";
|
2018-05-14 09:12:44 +02:00
|
|
|
sha256 = "08ldzbx1k3mbjc01fmzsn86ll4paf331bcjss6iig6y6hgc9q3ry";
|
2015-01-25 22:08:33 +01:00
|
|
|
};
|
|
|
|
|
2017-12-03 11:27:30 +01:00
|
|
|
buildInputs = [ pkgconfig ocaml findlib ncurses ];
|
2017-04-28 18:10:11 +02:00
|
|
|
propagatedBuildInputs = [ curl ];
|
2015-01-25 22:08:33 +01:00
|
|
|
createFindlibDestdir = true;
|
|
|
|
meta = {
|
|
|
|
description = "OCaml bindings to libcurl";
|
2017-12-03 11:27:30 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
|
|
|
homepage = "http://ygrek.org.ua/p/ocurl/";
|
2015-01-25 22:08:33 +01:00
|
|
|
maintainers = with stdenv.lib.maintainers; [ bennofs ];
|
2015-12-24 18:49:07 +01:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2015-01-25 22:08:33 +01:00
|
|
|
};
|
|
|
|
}
|