aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-12-29 15:39:31 -0500
committerLeo Famulari <leo@famulari.name>2017-12-31 12:36:08 -0500
commit8de9d5329e96d306279cabeb2cbe4b8319a6ab6e (patch)
treebc7b091b35db37a7ced887038421f8c7503045f3 /gnu/packages
parent12f496ba566fd54db2558a13cd50d0b18ec245ed (diff)
downloadguix-8de9d5329e96d306279cabeb2cbe4b8319a6ab6e.tar
guix-8de9d5329e96d306279cabeb2cbe4b8319a6ab6e.tar.gz
gnu: Add kurly.
* gnu/packages/curl.scm (kurly): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/curl.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index 49703c0925..5f6180052f 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -25,10 +25,13 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages)
#:use-module (guix download)
+ #:use-module (guix git-download)
#:use-module (guix utils)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system go)
#:use-module (gnu packages)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages golang)
#:use-module (gnu packages groff)
#:use-module (gnu packages gsasl)
#:use-module (gnu packages libidn)
@@ -135,3 +138,31 @@ tunneling, and so on.")
(sha256
(base32
"0y3qbjjcxhcvm1yawp3spfssjbskv0g6gyzld6ckif5pf8ygvxpm"))))))
+
+(define-public kurly
+ (package
+ (name "kurly")
+ (version "1.1.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/davidjpeacock/kurly.git")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "1q192f457sjypgvwq7grrf8gq8w272p3zf1d5ppc20mriqm0mbc3"))))
+ (build-system go-build-system)
+ (arguments
+ '(#:import-path "github.com/davidjpeacock/kurly"))
+ (inputs
+ `(("go-github-com-alsm-ioprogress" ,go-github-com-alsm-ioprogress)
+ ("go-github-com-aki237-nscjar" ,go-github-com-aki237-nscjar)
+ ("go-github-com-davidjpeacock-cli" ,go-github-com-davidjpeacock-cli)))
+ (synopsis "Command-line HTTP client")
+ (description "kurly is an alternative to the @code{curl} program written in
+Go. kurly is designed to operate in a similar manner to curl, with select
+features. Notably, kurly is not aiming for feature parity, but common flags and
+mechanisms particularly within the HTTP(S) realm are to be expected. kurly does
+not offer a replacement for libcurl.")
+ (home-page "https://github.com/davidjpeacock/kurly")
+ (license license:asl2.0)))