summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-08-22 17:53:24 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-08-24 12:28:09 +0200
commitee5fc0a2412e02d8ff051ceceff38ce7030a283c (patch)
tree2b51b325cb2d473d10f093ccbd9a3d7b1e36f62e /gnu
parent7285c1db5333d1ac8ecc4786b6b36f497c9dcb0e (diff)
gnu: r-httpuv: Update to 1.6.2.
* gnu/packages/cran.scm (r-httpuv): Update to 1.6.2. [inputs]: Add zlib.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm18
1 files changed, 8 insertions, 10 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 5d95152aec..01260e4bcc 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -1426,23 +1426,21 @@ Zucchini.")
(define-public r-httpuv
(package
(name "r-httpuv")
- (version "1.6.1")
+ (version "1.6.2")
(source (origin
(method url-fetch)
(uri (cran-uri "httpuv" version))
(sha256
(base32
- "0rxy57zl8yb5amsn3pvikha04k2vk0py4gys09lc7wr3agamswva"))
+ "1p5savhrcqlagnnh8ccnhpypbif9jhp97nq4rnhldn98gmb4a7sn"))
;; Unvendor bundled libraries. As of 1.5.4 the vendored libuv
;; only contains fixes for building on Solaris.
(patches (search-patches "r-httpuv-1.5.5-unvendor-libuv.patch"))
(modules '((guix build utils)))
+ ;; Cannot unbundle http-parser, because it contains local
+ ;; modifications.
(snippet
- `(begin
- (delete-file-recursively "src/libuv")
- ;; Cannot unbundle http-parser, because it contains local
- ;; modifications.
- #t))))
+ '(delete-file-recursively "src/libuv"))))
(build-system r-build-system)
(arguments
`(#:phases
@@ -1455,10 +1453,10 @@ Zucchini.")
;; Fix https://github.com/rstudio/httpuv/issues/282
(substitute* "src/http.cpp"
(("uv_pipe_init\\(pLoop, &pSocket->handle\\.pipe, true\\);")
- "uv_pipe_init(pLoop, &pSocket->handle.pipe, 0);"))
- #t)))))
+ "uv_pipe_init(pLoop, &pSocket->handle.pipe, 0);")))))))
(inputs
- `(("libuv" ,libuv)))
+ `(("libuv" ,libuv)
+ ("zlib" ,zlib)))
(propagated-inputs
`(("r-later" ,r-later)
("r-promises" ,r-promises)