diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-06-08 14:46:24 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-06-08 14:46:24 +0200 |
commit | 8c3e9da13a3c92a7db308db8c0d81cb474ad7799 (patch) | |
tree | 88d06952aa5cc3a9c4991d9c43eb7950ff174fe1 /gnu/packages/curl.scm | |
parent | 5439c04ebdb7b6405f5ea2446b375f1d155a8d95 (diff) | |
parent | 0c5299200ffcd16370f047b7ccb187c60f30da34 (diff) |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/curl.scm')
-rw-r--r-- | gnu/packages/curl.scm | 40 |
1 files changed, 31 insertions, 9 deletions
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm index 98bd501c11..dd4e9f76a5 100644 --- a/gnu/packages/curl.scm +++ b/gnu/packages/curl.scm @@ -41,6 +41,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system meson) + #:use-module ((guix search-paths) #:select ($SSL_CERT_DIR $SSL_CERT_FILE)) #:use-module (gnu packages) #:use-module (gnu packages check) #:use-module (gnu packages compression) @@ -82,15 +83,8 @@ ("python" ,python-minimal-wrapper))) (native-search-paths ;; These variables are introduced by curl-use-ssl-cert-env.patch. - (list (search-path-specification - (variable "SSL_CERT_DIR") - (separator #f) ;single entry - (files '("etc/ssl/certs"))) - (search-path-specification - (variable "SSL_CERT_FILE") - (file-type 'regular) - (separator #f) ;single entry - (files '("etc/ssl/certs/ca-certificates.crt"))) + (list $SSL_CERT_DIR + $SSL_CERT_FILE ;; Note: This search path is respected by the `curl` command-line ;; tool only. Patching libcurl to read it too would bring no ;; advantages and require maintaining a more complex patch. @@ -362,3 +356,31 @@ curl to obtain exactly that HTTP request.") (description "Coeurl is a simple library to do HTTP requests asynchronously via cURL in C++.") (license license:expat))) + +(define-public curlie + (package + (name "curlie") + (version "1.6.9") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rs/curlie") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1b94wfliivfq06i5sf664nhmp3v1k0lpz33cv9lyk6s59awb2hnw")))) + (build-system go-build-system) + (arguments + `(#:import-path "github.com/rs/curlie")) + (inputs + (list curl go-golang-org-x-crypto go-golang-org-x-sys)) + (home-page "https://curlie.io") + (synopsis "The power of curl, the ease of use of httpie") + (description "If you like the interface of HTTPie but miss the features of +curl, curlie is what you are searching for. Curlie is a frontend to +@code{curl} that adds the ease of use of @code{httpie}, without compromising +on features and performance. All @code{curl} options are exposed with syntax +sugar and output formatting inspired from @code{httpie}.") + (license license:expat))) |