From f2bbe73b817f2dc5a3ca866a750ce71737c12de2 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Thu, 24 Mar 2022 01:05:11 -0400 Subject: gnu: Add curlie. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/curl.scm (curlie): New variable. Signed-off-by: Ludovic Courtès --- gnu/packages/curl.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/curl.scm') diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm index d36519260e..021a3afcce 100644 --- a/gnu/packages/curl.scm +++ b/gnu/packages/curl.scm @@ -362,3 +362,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.7") + (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 + "1kmp8kd5sahb7x01pkk80zs7dvsnziavjlk2igis499a3ddcjqmr")))) + (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))) -- cgit v1.2.3