guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/77: gnu: r-httpuv: Update to 1.6.12.


From: guix-commits
Subject: 03/77: gnu: r-httpuv: Update to 1.6.12.
Date: Wed, 25 Oct 2023 10:59:46 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 565c643b74362cdd5a45063015a9e633b71d01b0
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Oct 25 13:58:39 2023 +0200

    gnu: r-httpuv: Update to 1.6.12.
    
    * gnu/packages/cran.scm (r-httpuv): Update to 1.6.12.
    [arguments]: Remove.
    [native-inputs]: Add pkg-config.
    
    Change-Id: I1ae9378ce65a689869edd921f3f64a99aa714788
---
 gnu/packages/cran.scm | 22 +++-------------------
 1 file changed, 3 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 107f154b65..ab3c2c5e9a 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -3812,40 +3812,24 @@ Zucchini.")
 (define-public r-httpuv
   (package
     (name "r-httpuv")
-    (version "1.6.11")
+    (version "1.6.12")
     (source (origin
               (method url-fetch)
               (uri (cran-uri "httpuv" version))
               (sha256
                (base32
-                "1xgf7q8ah9sbgbbjm9nwvry154g8i0gwfrn55npls9sihc59x9wb"))
+                "0x2y5yjj1ha99dv5c8j6pxm8fqhdcx010jl4rcw2qw20qaqp5ndi"))
               (modules '((guix build utils)))
               ;; Cannot unbundle http-parser, because it contains local
               ;; modifications.
               (snippet
                '(delete-file-recursively "src/libuv"))))
     (build-system r-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'unbundle-libuv
-           (lambda* (#:key outputs #:allow-other-keys)
-             (substitute* "src/Makevars"
-               (("PKG_LIBS = ./libuv/.libs/libuv.a")
-                "PKG_LIBS = -luv")
-               (("\\$\\(SHLIB\\): libuv/.libs/libuv.a")
-                "$(SHLIB): "))
-             (substitute* (find-files "src" "\\.cpp$|\\.h$")
-               (("\"libuv/include/uv\\.h\"")
-                "<uv.h>"))
-             ;; 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);")))))))
     (inputs
      (list libuv-for-r-httpuv zlib))
     (propagated-inputs
      (list r-later r-promises r-r6 r-rcpp))
+    (native-inputs (list pkg-config))
     (home-page "https://github.com/rstudio/httpuv";)
     (synopsis "HTTP and WebSocket server library for R")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]