summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-08-09 01:17:29 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-08-09 02:20:25 +0200
commitea6937ad8a3cde326892c9a02ae627f23d3b988b (patch)
tree2fba44616a92c45a2e7a7c49fa88aac3b9b13607
parent665fcd32afa66a259dca1683788d96e4c53a39ff (diff)
downloadguix-ea6937ad8a3cde326892c9a02ae627f23d3b988b.tar.gz
gnu: kurly: Update to 1.2.2.
Update both the project home page & the package version in a single
commit because of Go.

From the previous home page[0]:

 “2018-06-12 - THE KURLY PROJECT HAS MOVED HOME!
  kurly can now be found at GitLab [...]”

[0]: https://github.com/davidjpeacock/kurly

* gnu/packages/curl.scm (kurly): Update to 1.2.2.
[source, home-page]: Update URIs.
[arguments]: Likewise.  Adjust location of ‘kurly.man’.
[inputs]: Add go-github-com-urfave-cli.
-rw-r--r--gnu/packages/curl.scm15
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index e724fd147b..52c3a2fcdb 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -157,19 +157,19 @@ tunneling, and so on.")
 (define-public kurly
   (package
     (name "kurly")
-    (version "1.2.1")
+    (version "1.2.2")
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                     (url "https://github.com/davidjpeacock/kurly.git")
+                     (url "https://gitlab.com/davidjpeacock/kurly.git")
                      (commit (string-append "v" version))))
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "01kp33gvzxmk6ipz7323wqwmbc90q2mwzsjig8rzpqsm4kji5hi6"))))
+                "003jv2k45hg2svhjpy5253ccd250vi2r17x2zhm51iw54kgwxipm"))))
     (build-system go-build-system)
     (arguments
-     `(#:import-path "github.com/davidjpeacock/kurly"
+     `(#:import-path "gitlab.com/davidjpeacock/kurly"
        #:install-source? #f
        #:phases
        (modify-phases %standard-phases
@@ -182,20 +182,21 @@ tunneling, and so on.")
                (with-directory-excursion source
                  (install-file "README.md" doc)
                  (mkdir-p man)
-                 (copy-file "meta/kurly.man"
+                 (copy-file "doc/kurly.man"
                             (string-append man "/kurly.1")))
                #t))))))
     (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)))
+       ("go-github-com-davidjpeacock-cli" ,go-github-com-davidjpeacock-cli)
+       ("go-github-com-urfave-cli" ,go-github-com-urfave-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")
+    (home-page "https://gitlab.com/davidjpeacock/kurly")
     (license license:asl2.0)))
 
 (define-public guile-curl