[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
45/88: gnu: kurly: Improve package style.
From: |
guix-commits |
Subject: |
45/88: gnu: kurly: Improve package style. |
Date: |
Fri, 6 Dec 2024 16:17:25 -0500 (EST) |
sharlatan pushed a commit to branch go-team
in repository guix.
commit d826e9fcfb46b19181330c9d845eb892cf22de07
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Sun Nov 24 20:43:19 2024 +0000
gnu: kurly: Improve package style.
* gnu/packages/curl.scm (kurly): Use G-expressions. Adjust indentation
and fields order.
[phases]{install-documentation}: Remove trailing #t from lambda.
[description]: Adjust fill column.
Change-Id: I9d174bb79e583a305f58f9800847c87bcdaa5329
---
gnu/packages/curl.scm | 67 +++++++++++++++++++++++++++------------------------
1 file changed, 35 insertions(+), 32 deletions(-)
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm
index cbdcfb4871..6e63674447 100644
--- a/gnu/packages/curl.scm
+++ b/gnu/packages/curl.scm
@@ -203,47 +203,50 @@ tunneling, and so on.")
(prepend libssh2)))
(properties `((hidden? . #t)))))
+;; XXX: It looks like unmaintained, last time updated in 2018.
(define-public kurly
(package
(name "kurly")
(version "1.2.2")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://gitlab.com/davidjpeacock/kurly.git")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "003jv2k45hg2svhjpy5253ccd250vi2r17x2zhm51iw54kgwxipm"))))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/davidjpeacock/kurly")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "003jv2k45hg2svhjpy5253ccd250vi2r17x2zhm51iw54kgwxipm"))))
(build-system go-build-system)
(arguments
- `(#:import-path "gitlab.com/davidjpeacock/kurly"
- #:install-source? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'install-documentation
- (lambda* (#:key import-path outputs #:allow-other-keys)
- (let* ((source (string-append "src/" import-path))
- (out (assoc-ref outputs "out"))
- (doc (string-append out "/share/doc/" ,name "-" ,version))
- (man (string-append out "/share/man/man1")))
- (with-directory-excursion source
- (install-file "README.md" doc)
- (mkdir-p man)
- (copy-file "doc/kurly.man"
- (string-append man "/kurly.1")))
- #t))))))
+ (list
+ #:install-source? #f
+ #:import-path "gitlab.com/davidjpeacock/kurly"
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-documentation
+ (lambda* (#:key import-path #:allow-other-keys)
+ (let* ((source (string-append "src/" import-path))
+ (doc (string-append #$output "/share/doc/"
+ #$name "-" #$version))
+ (man (string-append #$output "/share/man/man1")))
+ (with-directory-excursion source
+ (install-file "README.md" doc)
+ (mkdir-p man)
+ (copy-file "doc/kurly.man"
+ (string-append man "/kurly.1")))))))))
(inputs
- (list go-github-com-alsm-ioprogress go-github-com-aki237-nscjar
+ (list go-github-com-alsm-ioprogress
+ go-github-com-aki237-nscjar
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://gitlab.com/davidjpeacock/kurly")
+ (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.")
(license license:asl2.0)))
(define-public guile-curl
- 31/88: gnu: Add go-csv2table., (continued)
- 31/88: gnu: Add go-csv2table., guix-commits, 2024/12/06
- 35/88: gnu: go-github-com-urfave-cli-v2: Update to 2.27.5., guix-commits, 2024/12/06
- 38/88: gnu: go-github-com-xdg-go-scram: Move to golang-xyz., guix-commits, 2024/12/06
- 39/88: gnu: go-github-com-miolini-datacounter: Move to golang-xyz., guix-commits, 2024/12/06
- 64/88: gnu: go-github-com-spf13-cobra: Adjust inputs., guix-commits, 2024/12/06
- 66/88: gnu: go-github-com-frankban-quicktest: Disable failing tests., guix-commits, 2024/12/06
- 67/88: gnu: go-github-com-charmbracelet-lipgloss: Remove examples., guix-commits, 2024/12/06
- 28/88: gnu: go-github-com-mitchellh-mapstructure: Move to golang-xyz., guix-commits, 2024/12/06
- 33/88: gnu: Add go-github-com-xrash-smetrics., guix-commits, 2024/12/06
- 41/88: gnu: go-github-com-aki237-nscjar: Update to 0.0.0-20210417074043-bbb606196143., guix-commits, 2024/12/06
- 45/88: gnu: kurly: Improve package style.,
guix-commits <=
- 46/88: gnu: packages/curl: Remove golang module., guix-commits, 2024/12/06
- 49/88: gnu: go-github-com-gdamore-tcell: Update to 1.4.0., guix-commits, 2024/12/06
- 40/88: gnu: restic-rest-server: Update to 0.13.0., guix-commits, 2024/12/06
- 62/88: gnu: go-github-com-vishvananda-netns: Move to golang-web., guix-commits, 2024/12/06
- 71/88: gnu: Add go-github-com-shurcool-graphql., guix-commits, 2024/12/06
- 74/88: gnu: Add go-github-com-erikgeiser-coninput., guix-commits, 2024/12/06
- 73/88: gnu: Add go-github-com-buildkite-shellwords., guix-commits, 2024/12/06
- 78/88: gnu: Add go-github-com-charmbracelet-x-windows., guix-commits, 2024/12/06
- 79/88: gnu: Add go-github-com-charmbracelet-x-input., guix-commits, 2024/12/06
- 85/88: gnu: Add go-go-abhg-dev-komplete., guix-commits, 2024/12/06