mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
Merge remote-tracking branch 'origin/master' into core-updates
This commit is contained in:
commit
ff01206345
437 changed files with 137482 additions and 74327 deletions
|
@ -787,17 +787,17 @@ decompression of some loosely related file formats used by Microsoft.")
|
|||
(define-public lz4
|
||||
(package
|
||||
(name "lz4")
|
||||
(version "1.9.2")
|
||||
(version "1.9.3")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference (url "https://github.com/lz4/lz4")
|
||||
(commit (string-append "v" version))))
|
||||
(sha256
|
||||
(base32
|
||||
"0lpaypmk70ag2ks3kf2dl4ac3ba40n5kc1ainkp9wfjawz76mh61"))
|
||||
(base32 "1w02kazh1fps3sji2sn89fz862j1199c5ajrqcgl1bnlxj09kcbz"))
|
||||
(file-name (git-file-name name version))))
|
||||
(build-system gnu-build-system)
|
||||
(outputs (list "out" "static"))
|
||||
(native-inputs
|
||||
`(;; For tests.
|
||||
("python" ,python)
|
||||
|
@ -806,20 +806,24 @@ decompression of some loosely related file formats used by Microsoft.")
|
|||
`(#:test-target "test"
|
||||
#:make-flags (list (string-append "CC=" ,(cc-for-target))
|
||||
(string-append "prefix=" (assoc-ref %outputs "out")))
|
||||
#:phases (modify-phases %standard-phases
|
||||
(delete 'configure) ;no configure script
|
||||
(add-before 'check 'disable-broken-test
|
||||
(lambda _
|
||||
;; XXX: test_install.sh fails when prefix is a subdirectory.
|
||||
(substitute* "tests/Makefile"
|
||||
(("^test: (.*) test-install" _ targets)
|
||||
(string-append "test: " targets)))
|
||||
#t))
|
||||
(add-after 'install 'delete-static-library
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out")))
|
||||
(delete-file (string-append out "/lib/liblz4.a"))
|
||||
#t))))))
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure) ; no configure script
|
||||
(add-before 'check 'disable-broken-test
|
||||
(lambda _
|
||||
(substitute* "tests/Makefile"
|
||||
;; This fails when $prefix is not a single top-level directory.
|
||||
(("^test: (.*) test-install" _ targets)
|
||||
(string-append "test: " targets)))
|
||||
#t))
|
||||
(add-after 'install 'move-static-library
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((out (assoc-ref outputs "out"))
|
||||
(static (assoc-ref outputs "static")))
|
||||
(mkdir-p (string-append static "/lib"))
|
||||
(rename-file (string-append out "/lib/liblz4.a")
|
||||
(string-append static "/lib/liblz4.a"))
|
||||
#t))))))
|
||||
(home-page "https://www.lz4.org")
|
||||
(synopsis "Compression algorithm focused on speed")
|
||||
(description "LZ4 is a lossless compression algorithm, providing
|
||||
|
@ -845,9 +849,9 @@ time for compression ratio.")
|
|||
"0zmhvczscqz0mzh4b9m8m42asq14db0a6lc8clp5ljq5ybrv70d9"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
'(#:tests? #f ; no check target
|
||||
`(#:tests? #f ; no check target
|
||||
#:make-flags
|
||||
(list "CC=gcc"
|
||||
(list (string-append "CC=" ,(cc-for-target))
|
||||
"XZ_SUPPORT=1"
|
||||
"LZO_SUPPORT=1"
|
||||
"LZ4_SUPPORT=1"
|
||||
|
@ -952,7 +956,8 @@ tarballs.")
|
|||
"0j2zm3z271x5aw63mwhr3vymzn45p2vvrlrpm9cz2nywna41b0hq"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:make-flags (list "INSTALL=install" "CC=gcc"
|
||||
`(#:make-flags (list "INSTALL=install"
|
||||
(string-append "CC=" ,(cc-for-target))
|
||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||
#:phases (modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
|
@ -1297,7 +1302,7 @@ or junctions, and always follows hard links.")
|
|||
(source
|
||||
(origin (method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "http://github.com/twogood/unshield.git")
|
||||
(url "http://github.com/twogood/unshield")
|
||||
(commit version)))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
|
@ -1429,7 +1434,7 @@ or junctions, and always follows hard links.")
|
|||
|
||||
#t))))
|
||||
#:make-flags
|
||||
(list "CC=gcc"
|
||||
(list ,(string-append "CC=" (cc-for-target))
|
||||
(string-append "prefix=" (assoc-ref %outputs "out"))
|
||||
(string-append "libdir=" (assoc-ref %outputs "lib") "/lib")
|
||||
(string-append "includedir=" (assoc-ref %outputs "lib") "/include")
|
||||
|
@ -1464,8 +1469,14 @@ speed.")
|
|||
(version (package-version zstd))
|
||||
(source (package-source zstd))
|
||||
(build-system gnu-build-system)
|
||||
(inputs
|
||||
`(,@(if (%current-target-system)
|
||||
`(("googletest" ,googletest))
|
||||
'())))
|
||||
(native-inputs
|
||||
`(("googletest" ,googletest)))
|
||||
`(,@(if (%current-system)
|
||||
`(("googletest" ,googletest))
|
||||
'())))
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
|
@ -1483,7 +1494,8 @@ speed.")
|
|||
(install-file "README.md" doc)
|
||||
#t))))
|
||||
#:make-flags
|
||||
(list "CC=gcc"
|
||||
(list (string-append "CC=" ,(cc-for-target))
|
||||
(string-append "CXX=" ,(cxx-for-target))
|
||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))))
|
||||
(home-page (package-home-page zstd))
|
||||
(synopsis "Threaded implementation of the Zstandard compression algorithm")
|
||||
|
@ -1674,7 +1686,7 @@ archive can be reverted.")
|
|||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://savannah.nongnu.org/download/atool/atool-"
|
||||
(uri (string-append "mirror://savannah/atool/atool-"
|
||||
version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue