mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +00:00
21 lines
646 B
Nix
21 lines
646 B
Nix
{ stdenv, ocaml, findlib, fetchurl, curl, ncurses }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "ocurl-0.7.8";
|
|
src = fetchurl {
|
|
url = "https://forge.ocamlcore.org/frs/download.php/1463/${name}.tar.bz2";
|
|
sha256 = "0yn7f3g5wva8nqxh76adpq9rihggc405jkqysfghzwnf3yymyqrr";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ncurses ];
|
|
propagatedBuildInputs = [ curl ];
|
|
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 or [];
|
|
};
|
|
}
|