[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
273/276: gnu: transanno: Fix build.
From: |
guix-commits |
Subject: |
273/276: gnu: transanno: Fix build. |
Date: |
Wed, 18 Oct 2023 04:50:39 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 4fcf0425328d45f0204dc92ef58fdcc63caa6382
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Fri Oct 13 13:50:19 2023 +0300
gnu: transanno: Fix build.
* gnu/packages/bioinformatics.scm (transanno)[arguments]: Run the test
suite. Don't patch Cargo.toml in liftover-rs. Don't patch crate in
vendor-dir.
[native-inputs]: Add pkg-config.
[inputs]: Add xz.
---
gnu/packages/bioinformatics.scm | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 44eeb53e95..804693427d 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -4696,26 +4696,17 @@ accurately delineate genomic rearrangements throughout
the genome.")
(arguments
(list
#:install-source? #false ;fails
- #:tests? #false ;"cargo test" ignores build.rs
+ #:tests? #true
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'prepare-test-files
(lambda _
(delete-file "Cargo.lock")
- (substitute* "liftover-rs/Cargo.toml"
- (("anyhow = \"1\"") "anyhow = \"1.0.65\""))
(substitute* "liftover-rs/prepare-test.sh"
(("/bin/bash")
(string-append #$(this-package-native-input "bash")
"/bin/bash")))
(invoke "bash" "prepare-test-files.sh")))
- (add-before 'patch-cargo-checksums 'do-not-build-xz
- (lambda _
- ;; Detection of liblzma (in rust-lzma-sys, pulled in by
- ;; rust-hts-sys) doesn't seem to work, or perhaps it really does
- ;; request a static build somewhere.
- (substitute* "guix-vendor/rust-lzma-sys-0.1.17.tar.xz/build.rs"
- (("if .want_static && .msvc &&
pkg_config::probe_library\\(\"liblzma\"\\).is_ok\\(\\)") ""))))
(add-before 'install 'chdir
(lambda _ (chdir "transanno"))))
#:cargo-inputs
@@ -4737,7 +4728,8 @@ accurately delineate genomic rearrangements throughout
the genome.")
#:cargo-development-inputs
`(("rust-clap" ,rust-clap-2)
("rust-lazy-static" ,rust-lazy-static-1))))
- (native-inputs (list bash))
+ (native-inputs (list bash pkg-config))
+ (inputs (list xz))
(home-page "https://github.com/informationsea/transanno")
(synopsis "LiftOver tool for new genome assemblies")
(description "This package provides an accurate VCF/GFF3/GTF LiftOver tool
- 242/276: gnu: rust-sct-0.7: Add missing input., (continued)
- 242/276: gnu: rust-sct-0.7: Add missing input., guix-commits, 2023/10/18
- 240/276: gnu: rust-ring-0.13: Skip build., guix-commits, 2023/10/18
- 239/276: gnu: rust-ring-0.14: Skip build., guix-commits, 2023/10/18
- 248/276: gnu: rust-tokio-0.1: Don't rely on deprecated features., guix-commits, 2023/10/18
- 245/276: gnu: rust-structopt-0.2: Don't rely on deprecated features., guix-commits, 2023/10/18
- 254/276: gnu: rust-utf8-width-0.1: Update to 0.1.6., guix-commits, 2023/10/18
- 256/276: gnu: rust-webpki-0.18: Skip building., guix-commits, 2023/10/18
- 262/276: gnu: rust-tower-0.4: Update to 0.4.13., guix-commits, 2023/10/18
- 270/276: gnu: rust-cortex-m-0.7: Remove precompiled files., guix-commits, 2023/10/18
- 271/276: gnu: rust-cortex-m-0.7: Update to 0.7.7., guix-commits, 2023/10/18
- 273/276: gnu: transanno: Fix build.,
guix-commits <=
- 276/276: Revert "build: cargo-build-system: Disable tests by default.", guix-commits, 2023/10/18
- 146/276: gnu: Add rust-serde-regex-1., guix-commits, 2023/10/18
- 148/276: gnu: Add rust-ntest-timeout-0.7., guix-commits, 2023/10/18
- 149/276: gnu: Add rust-ntest-test-cases-0.7., guix-commits, 2023/10/18
- 163/276: gnu: Add rust-itertools-0.11., guix-commits, 2023/10/18
- 165/276: gnu: rust-predicates-core-1: Update to 1.0.6., guix-commits, 2023/10/18
- 166/276: gnu: rust-predicates-tree-1: Update to 1.0.9., guix-commits, 2023/10/18
- 170/276: gnu: Add rust-resize-0.4., guix-commits, 2023/10/18
- 164/276: gnu: Add rust-predicates-3., guix-commits, 2023/10/18
- 172/276: gnu: wlgreet: Update to 0.4.1., guix-commits, 2023/10/18