[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 37/96] gnu: Add ocaml-ocurl
From: |
Julien Lepiller |
Subject: |
[PATCH 37/96] gnu: Add ocaml-ocurl |
Date: |
Tue, 3 Jan 2017 20:11:18 +0100 |
* gnu/pcakages/ocaml.scm (ocaml-ocurl): New variable.
---
gnu/packages/ocaml.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index 0c8b188ca..a695d4a5e 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -1571,3 +1571,29 @@ string values and to directly encode characters in OCaml
Buffer.t values.")
the JSON data format. It can process JSON text without blocking on IO and
without a complete in-memory representation of the data.")
(license license:isc)))
+
+(define-public ocaml-ocurl
+ (package
+ (name "ocaml-ocurl")
+ (version "0.7.9")
+ (home-page "http://ocurl.forge.ocamlcore.org/")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "http://ygrek.org.ua/p/release/ocurl/ocurl-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0pm6nm33wi0p9h765k6zb94ljpknryam4qd1hmb2rsk2y0y1181n"))))
+ (build-system ocaml-build-system)
+ (arguments `(#:phases
+ (modify-phases %standard-phases
+ (add-before 'configure 'fix-/bin/sh
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "configure"
+ (("-/bin/sh") (string-append "-" (which
"bash")))))))))
+ (native-inputs `(("pkg-config" ,pkg-config)))
+ (inputs `(("curl" ,curl)))
+ (synopsis "OCaml bindings for libcurl")
+ (description "Client-side URL transfer library, supporting HTTP and a
+multitude of other network protocols (FTP/SMTP/RTSP/etc).")
+ (license license:isc)))
--
2.11.0
- [PATCH 27/96] gnu: Add ocaml-ssl, (continued)
- [PATCH 27/96] gnu: Add ocaml-ssl, Julien Lepiller, 2017/01/03
- [PATCH 28/96] gnu: Add ocaml-lwt, Julien Lepiller, 2017/01/03
- [PATCH 29/96] gnu: Add ocaml-logs, Julien Lepiller, 2017/01/03
- [PATCH 30/96] gnu: Add ocaml-fpath, Julien Lepiller, 2017/01/03
- [PATCH 31/96] gnu: Add ocaml-bos, Julien Lepiller, 2017/01/03
- [PATCH 32/96] gnu: Add ocaml-xmlm, Julien Lepiller, 2017/01/03
- [PATCH 33/96] gnu: Add ocaml-ulex, Julien Lepiller, 2017/01/03
- [PATCH 34/96] gnu: Add ocaml-uchar, Julien Lepiller, 2017/01/03
- [PATCH 35/96] gnu: Add ocaml-uutf, Julien Lepiller, 2017/01/03
- [PATCH 36/96] gnu: Add ocaml-jsonm, Julien Lepiller, 2017/01/03
- [PATCH 37/96] gnu: Add ocaml-ocurl,
Julien Lepiller <=
- [PATCH 38/96] gnu: Add ocaml-base64, Julien Lepiller, 2017/01/03
- [PATCH 39/96] gnu: Add ocamlify, Julien Lepiller, 2017/01/03
- [PATCH 41/96] gnu: Add ocaml-batteries, Julien Lepiller, 2017/01/03
- [PATCH 40/96] gnu: Add omake, Julien Lepiller, 2017/01/03
- [PATCH 42/96] gnu: Add ocaml-pcre, Julien Lepiller, 2017/01/03
- [PATCH 43/96] gnu: Add ocaml-expect, Julien Lepiller, 2017/01/03
- [PATCH 44/96] gnu: Add ocaml-fileutils, Julien Lepiller, 2017/01/03
- [PATCH 45/96] gnu: Add ocaml-oasis, Julien Lepiller, 2017/01/03
- [PATCH 46/96] gnu: Add ocaml-js-build-tools, Julien Lepiller, 2017/01/03