1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-22 09:05:54 +02:00

gnu: zstd: Update to 1.5.6.

* gnu/packages/compression.scm (zstd): Update to 1.5.6
(zstd-1.5.6): Remove variable.
(pzstd): Inherit from zstd.

Change-Id: If0020d61c5516222f6a80bdc7b41c19732f359e1
This commit is contained in:
Zheng Junjie
2025-02-07 11:38:15 +08:00
committed by Andreas Enge
parent 2498c4d4b3
commit f48719a585
+8 -8
View File
@@ -41,7 +41,7 @@
;;; Copyright © 2024 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2024 David Elsing <david.elsing@posteo.net>
;;; Copyright © 2024 Artyom V. Poptsov <poptsov.artyom@gmail.com>
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2024, 2025 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1764,14 +1764,14 @@ or junctions, and always follows hard links.")
(define-public zstd
(package
(name "zstd")
(version "1.5.2")
(version "1.5.6")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/facebook/zstd/releases/download/"
"v" version "/zstd-" version ".tar.gz"))
(sha256
(base32 "1l1zm1imcc2ixayykyh4y421shdj3pzp7g2xm2k2js8jmipxahkw"))))
(base32 "1h83si7s70jy7mcy0mv1c9mbkz66qqpawxs0zkmc3b1ayinf0acc"))))
(build-system gnu-build-system)
(outputs '("out" ;1.5MiB executables and documentation
"lib" ;1.2MiB shared library and headers
@@ -1808,7 +1808,7 @@ or junctions, and always follows hard links.")
(rename-file (string-append shared-libs "/libzstd.a")
(string-append static-libs "/libzstd_static.lib"))
(delete-file-recursively
(string-append shared-libs "/pkgconfig"))
(string-append shared-libs "/pkgconfig"))
;; no binary for interpreter `sh' found in $PATH
(delete-file (string-append out "/bin/zstdgrep"))
(delete-file (string-append out "/bin/zstdless"))
@@ -1886,12 +1886,12 @@ speed.")
(outputs '("out"))
(inputs
`(,@(if (%current-target-system)
`(("googletest" ,googletest))
'())))
`(("googletest" ,googletest))
'())))
(native-inputs
`(,@(if (%current-system)
`(("googletest" ,googletest))
'())))
`(("googletest" ,googletest))
'())))
(arguments
`(#:phases
(modify-phases %standard-phases