[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#41919] [patch] Add curlpp C++ bindings to curl package
From: |
Ludovic Courtès |
Subject: |
[bug#41919] [patch] Add curlpp C++ bindings to curl package |
Date: |
Thu, 18 Jun 2020 14:43:12 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi Dale,
Dale Mellor <guix-devel-0brg6b@rdmp.org> skribis:
> From 36c628cd27c2c6f281ec800767ba0e514fae13b1 Mon Sep 17 00:00:00 2001
> From: Dale Mellor <guix-devel-0brg6b@rdmp.org>
> Date: Wed, 17 Jun 2020 12:42:54 +0100
> Subject: [PATCH] gnu: Add curlpp library.
>
> * gnu/packages/curl.scm (curlpp): New variable.
Nice! A couple of comments:
[...]
> +(define-public curlpp
> + (package
> + (name "curlpp")
Please pass the package through ./etc/indent-code.el:
https://guix.gnu.org/manual/en/html_node/Formatting-Code.html
> + (version "0.8.1")
> + (source (origin
> + (method git-fetch)
> + (uri (git-reference
> + (url "https://github.com/jpbarrette/curlpp.git")
> + (commit "v0.8.1")))
> + (sha256
> + (base32
> "1b0ylnnrhdax4kwjq64r1fk0i24n5ss6zfzf4hxwgslny01xiwrk"))))
> + (build-system cmake-build-system)
> + (arguments `(#:phases (modify-phases %standard-phases (delete 'check))))
To disable tests, use #:tests? #f.
However, we only disable tests when there’s a compelling reason to do
so, in which case there should be a comment indicating why they’re
disabled.
What’s the reason here? Perhaps name-lookup errors? (There’s no
networking in the isolated build environment.)
> + (propagated-inputs `(("curl" ,curl)))
Do we need to propagate due to cURL headers being included in public
headers?
> + (synopsis "C++ wrapper around libcURL")
> + (description
> + "A free and easy-to-use client-side C++ URL transfer library,
> +supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. The
> +curlpp library supports HTTPS certificates, HTTP POST, HTTP PUT, FTP
> +uploading, kerberos, HTTP form based upload, proxies, cookies, user+password
> +authentication, file transfer resume, http proxy tunneling and more! The
> +curlpp library is highly portable, it builds and works identically on
> numerous
> +platforms, including Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, HPUX, IRIX,
> +AIX, Tru64, Linux, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX,
> OpenVMS,
> +RISC OS, Novell NetWare, DOS and more... curlpp is free, thread-safe, IPv6
> +compatible, feature rich, well supported and fast.")
Please write full sentences and remove the list of supported operating
systems, which is not useful info in the context of Guix:
https://guix.gnu.org/manual/en/html_node/Synopses-and-Descriptions.html
Thanks for the patch!
Ludo’.