gnu: c-blosc: Remove bundled libraries from source.

* gnu/packages/compression.scm (c-blosc)[source]: Add snippet.
This commit is contained in:
Tobias Geerinckx-Rice 2022-06-05 02:00:00 +02:00
parent 495c248920
commit 2d80b869f0
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2576,15 +2576,19 @@ (define-public c-blosc
(package
(name "c-blosc")
(version "1.21.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Blosc/c-blosc")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0gy9a7wp7x71x5l3rprx8wpb3c5cn7wqc77gdiffq35hr34q88p9"))))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/Blosc/c-blosc")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0gy9a7wp7x71x5l3rprx8wpb3c5cn7wqc77gdiffq35hr34q88p9"))
(modules '((guix build utils)))
(snippet
;; In a rare victory, we may delete all bundled libs to no ill effect.
'(delete-file-recursively "internal-complibs"))))
(build-system cmake-build-system)
(arguments
`(#:configure-flags