summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-03-17 13:33:05 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-03-19 16:11:53 +0100
commitef86b0b12e75408bd7a8e69a7a2c5ef33be4a49d (patch)
treee16d4b7573fd8e656db7cd7a4612b948bdaa75ab
parente72d0d9208514d5c127fdb05b9704149de7eed71 (diff)
downloadguix-ef86b0b12e75408bd7a8e69a7a2c5ef33be4a49d.tar.gz
gnu: Add libuv-for-r-httpuv.
* gnu/packages/libevent.scm (libuv-for-r-httpuv): New variable.
-rw-r--r--gnu/packages/libevent.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/libevent.scm b/gnu/packages/libevent.scm
index f9722e4469..02b2795194 100644
--- a/gnu/packages/libevent.scm
+++ b/gnu/packages/libevent.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;; Copyright © 2022 Luis Henrique Gomes Higino <luishenriquegh2701@gmail.com>
+;;; Copyright © 2023 Ricardo Wurmus <rekado@elephly.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -157,6 +158,21 @@ resolution, asynchronous file system operations, and threading primitives.")
                 "0wpb9pz3r8nksnrf4zbixj2kk9whr7abi45ydrwyv2js2ljrc4j3"))))
     (properties '((hidden? . #t)))))
 
+(define-public libuv-for-r-httpuv
+  ;; When upgrading r-httpuv, also upgrade this.
+  (package
+    (inherit libuv)
+    (name "libuv")
+    (version "1.43.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "https://dist.libuv.org/dist/v" version
+                                  "/libuv-v" version ".tar.gz"))
+              (sha256
+               (base32
+                "194kwq3jfj9s628kzkchdca534rikjw0xiyas0cjbphqmsvjpmwh"))))
+    (properties '((hidden? . #t)))))
+
 (define-public libuv-julia
   (let ((commit "e6f0e4900e195c8352f821abe2b3cffc3089547b")
         (revision "4"))