gnu: c-ares: Update to 1.34.4.

* gnu/packages/adns.scm (c-ares): Update to 1.34.4.
[source]: Update url.
(c-ares-for-node-lts): Simplifies it.

Change-Id: I4af1ea6d76e7efcfcfc772408f63f92cce7c28df
This commit is contained in:
Zheng Junjie 2025-02-17 00:15:08 +08:00 committed by Andreas Enge
parent eec2135808
commit 2f8c2eebdf
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -68,15 +68,15 @@ scripts.")
(define-public c-ares
(package
(name "c-ares")
(version "1.18.1")
(version "1.34.4")
(source (origin
(method url-fetch)
(uri (string-append
"https://c-ares.haxx.se/download/" name "-" version
".tar.gz"))
"https://github.com/c-ares/c-ares/releases/download/v"
version "/" name "-" version ".tar.gz"))
(sha256
(base32
"1kxviskwsaa7dcgscvssxa8ps88pdq7kq4z93gxvz7sam2l54z8s"))))
"0br2msk3bpl5myhjp9vr5j2scpspvbg2fpnz69dcrr4ycpnxnf7s"))))
(build-system gnu-build-system)
(arguments
(list
@ -149,19 +149,7 @@ multiple clients and programs with graphical user interfaces.")
(license (x11-style "https://c-ares.haxx.se/license.html"))))
(define-public c-ares-for-node-lts
(hidden-package
(package
(inherit c-ares)
(version "1.34.4")
(source (origin
(method url-fetch)
(uri (string-append
"https://github.com/c-ares/c-ares/releases/download/v"
version "/c-ares-" version
".tar.gz"))
(sha256
(base32
"0br2msk3bpl5myhjp9vr5j2scpspvbg2fpnz69dcrr4ycpnxnf7s")))))))
(hidden-package c-ares))
;; gRPC requires a c-ares built with CMake in order to get the .cmake modules.
;; We can not build c-ares itself with CMake because that would introduce a