diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-12-13 17:18:24 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-12-13 17:48:25 +0100 |
commit | 8394619baceb118df92e355377fd543bb1aa501a (patch) | |
tree | 504f07c2a9f88596a305b59ef45f941062426a52 /gnu/packages/curl.scm | |
parent | aca2defe0172868295941fd9f0e97886f6e9b2d4 (diff) | |
download | guix-8394619baceb118df92e355377fd543bb1aa501a.tar.gz |
gnu: Simplify package inputs.
This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
Diffstat (limited to 'gnu/packages/curl.scm')
-rw-r--r-- | gnu/packages/curl.scm | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/gnu/packages/curl.scm b/gnu/packages/curl.scm index 6d2f36397f..9a9d788ceb 100644 --- a/gnu/packages/curl.scm +++ b/gnu/packages/curl.scm @@ -69,11 +69,8 @@ (build-system gnu-build-system) (outputs '("out" "doc")) ;1.2 MiB of man3 pages - (inputs `(("gnutls" ,gnutls) - ("libidn" ,libidn) - ("mit-krb5" ,mit-krb5) - ("nghttp2" ,nghttp2 "lib") - ("zlib" ,zlib))) + (inputs (list gnutls libidn mit-krb5 + `(,nghttp2 "lib") zlib)) (native-inputs `(("nghttp2" ,nghttp2) ("perl" ,perl) @@ -190,9 +187,8 @@ tunneling, and so on.") (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-urfave-cli" ,go-github-com-urfave-cli))) + (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 @@ -263,10 +259,9 @@ not offer a replacement for libcurl.") ;; The build system does not actually compile the Scheme module. ;; So we can compile it and put it in the right place in one go. (invoke "guild" "compile" curl.scm "-o" curl.go))))))) - (native-inputs `(("pkg-config" ,pkg-config))) + (native-inputs (list pkg-config)) (inputs - `(("curl" ,curl) - ("guile" ,guile-3.0))) + (list curl guile-3.0)) (home-page "http://www.lonelycactus.com/guile-curl.html") (synopsis "Curl bindings for Guile") (description "@code{guile-curl} is a project that has procedures that allow @@ -279,8 +274,7 @@ FTP servers. It is based on the curl library.") (inherit guile-curl) (name "guile2.2-curl") (inputs - `(("curl" ,curl) - ("guile" ,guile-2.2))))) + (list curl guile-2.2)))) (define-public curlpp (package @@ -301,7 +295,7 @@ FTP servers. It is based on the curl library.") '(#:tests? #f)) ;; The installed version needs the header files from the C library. (propagated-inputs - `(("curl" ,curl))) + (list curl)) (synopsis "C++ wrapper around libcURL") (description "This package provides a free and easy-to-use client-side C++ URL @@ -332,7 +326,7 @@ more!") '(#:install-plan '(("./h2c" "bin/")))) (inputs - `(("perl" ,perl))) + (list perl)) (home-page "https://curl.se/h2c/") (synopsis "Convert HTTP headers to a curl command line") (description |