guix_mirror_bot pushed a commit to branch r-team
in repository guix.
commit 6e53fb684aa56213156768ef72f31daa4319bc08
Author: Ricardo Wurmus <[email protected]>
AuthorDate: Thu Mar 12 11:33:30 2026 +0100
gnu: r-bpcells: Do not build bundled highway library.
* gnu/packages/bioinformatics.scm (r-bpcells)[source]: Remove bundled
highway
sources.
[arguments]: Fix check.
[inputs]: Add google-highway.
Change-Id: Ib70e7f9f64053b9e840c8c5f04e966beb4cf2869
---
gnu/packages/bioinformatics.scm | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 46e3a162ca..f1412d2588 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -921,7 +921,10 @@ suite native in R.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "12h1di45fg06nhsliii7v0h1z567pkpis1xm4ar1qr8ns1n8iljw"))))
+ (base32 "12h1di45fg06nhsliii7v0h1z567pkpis1xm4ar1qr8ns1n8iljw"))
+ (modules '((guix build utils)))
+ (snippet
+ '(delete-file-recursively "r/src/vendor/highway"))))
(properties `((upstream-name . "BPCells")))
(build-system r-build-system)
(arguments
@@ -929,7 +932,11 @@ suite native in R.")
#:phases
'(modify-phases %standard-phases
(add-after 'unpack 'chdir
- (lambda _ (chdir "r"))))))
+ (lambda _
+ (substitute* "r/configure"
+ (("tools/hwy-test.cpp" m)
+ (string-append m " $HWY_LIBS $HWY_CFLAGS")))
+ (chdir "r"))))))
(propagated-inputs
(list r-dplyr
r-ggplot2
@@ -956,7 +963,7 @@ suite native in R.")
r-igraph
r-iranges
r-matrixstats))
- (inputs (list hdf5 zlib))
+ (inputs (list hdf5 google-highway zlib))
(native-inputs (list pkg-config))
(home-page "https://github.com/bnprks/BPCells")
(synopsis "Single cell counts matrices to PCA")