summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/ocurl/default.nix
blob: 2cfb6af68a8b10b71cc2ce4d1a015a8b8947774a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ stdenv, ocaml, findlib, fetchurl, curl, ncurses }:

stdenv.mkDerivation rec {
  name = "ocurl-0.7.5";
  src = fetchurl {
    url = "https://forge.ocamlcore.org/frs/download.php/1463/${name}.tar.bz2";
    sha256 = "0yn7f3g5wva8nqxh76adpq9rihggc405jkqysfghzwnf3yymyqrr";
  };

  buildInputs = [ocaml findlib curl ncurses];
  createFindlibDestdir = true;
  meta = {
    description = "OCaml bindings to libcurl";
    license = stdenv.lib.licenses.bsd3;
    homepage = http://ocurl.forge.ocamlcore.org/;
    maintainers = with stdenv.lib.maintainers; [ bennofs ];
    platforms = ocaml.meta.platforms;
  };
}