diff options
| author | Jonas Meeuws <jonas.meeuws@gmail.com> | 2025-10-05 19:01:57 +0200 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-08-22 16:49:16 +0200 |
| commit | d5992d063e5db8216b267d9f7ca1ddfb8ad8fa07 (patch) | |
| tree | 387d50bfb3c92e1f3bfdc568d16e158e56202477 | |
| parent | 8e873ad446d695c50051572a05739092ec75aa87 (diff) | |
gnu: sambamba: Update to 1.0.1-0.dba65af.
This update fixes deprecations, but doesn't have a tag yet.
* gnu/packages/bioinformatics.scm (sambamba): Update to 1.0.1-0.dba65af.
[#:phases]<install>: Copy “sambamba-${base-version}” rather than
“sambamba-${version}”.
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
| -rw-r--r-- | gnu/packages/bioinformatics.scm | 95 |
1 files changed, 50 insertions, 45 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 281dfdb9087..9325a565108 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm | |||
| @@ -31,6 +31,7 @@ | |||
| 31 | ;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org> | 31 | ;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org> |
| 32 | ;;; Copyright © 2026 Hartmut Goebel <h.goebel@crazy-compilers.com> | 32 | ;;; Copyright © 2026 Hartmut Goebel <h.goebel@crazy-compilers.com> |
| 33 | ;;; Copyright © 2025-2026 Sharlatan Hellseher <sharlatanus@gmail.com> | 33 | ;;; Copyright © 2025-2026 Sharlatan Hellseher <sharlatanus@gmail.com> |
| 34 | ;;; Copyright © 2025-2026 Jonas Meeuws <jonas.meeuws@gmail.com> | ||
| 34 | ;;; Copyright © 2026 Cayetano Santos <csantosb@inventati.org> | 35 | ;;; Copyright © 2026 Cayetano Santos <csantosb@inventati.org> |
| 35 | ;;; | 36 | ;;; |
| 36 | ;;; This file is part of GNU Guix. | 37 | ;;; This file is part of GNU Guix. |
| @@ -15589,55 +15590,59 @@ using high-throughput sc-RNAseq data.") | |||
| 15589 | (license license:gpl2)))) | 15590 | (license license:gpl2)))) |
| 15590 | 15591 | ||
| 15591 | (define-public sambamba | 15592 | (define-public sambamba |
| 15592 | (package | 15593 | ;; The update that fixes deprecations doesn't have a tag yet. |
| 15593 | (name "sambamba") | 15594 | (let ((base-version "1.0.1") |
| 15594 | (version "0.8.2") | 15595 | (commit "dba65af68708859203338caa04ac62265fcebeab") |
| 15595 | (source | 15596 | (revision "0")) |
| 15596 | (origin | 15597 | (package |
| 15597 | (method git-fetch) | 15598 | (name "sambamba") |
| 15598 | (uri (git-reference | 15599 | (version (git-version base-version revision commit)) |
| 15599 | (url "https://github.com/biod/sambamba") | 15600 | (source |
| 15600 | (commit (string-append "v" version)))) | 15601 | (origin |
| 15601 | (file-name (git-file-name name version)) | 15602 | (method git-fetch) |
| 15602 | (sha256 | 15603 | (uri (git-reference |
| 15603 | (base32 | 15604 | (url "https://github.com/biod/sambamba") |
| 15604 | "1zdkd1md5wk4la71p82pbclqqcm55abk23fk087da6186i1bsihl")))) | 15605 | (commit commit))) |
| 15605 | (build-system gnu-build-system) | 15606 | (file-name (git-file-name name version)) |
| 15606 | (arguments | 15607 | (sha256 |
| 15607 | `(#:tests? #f ; there is no test target | 15608 | (base32 |
| 15608 | #:parallel-build? #f ; not supported | 15609 | "1wmka4ickrsfvkhc1mrrkxqy65g6wylsv0scmjq7m8l8qnllxbak")))) |
| 15609 | #:phases | 15610 | (build-system gnu-build-system) |
| 15610 | (modify-phases %standard-phases | 15611 | (arguments |
| 15611 | (delete 'configure) | 15612 | `(#:tests? #f ; there is no test target |
| 15612 | (add-after 'unpack 'prepare-build-tools | 15613 | #:parallel-build? #f ; not supported |
| 15613 | (lambda* (#:key inputs #:allow-other-keys) | 15614 | #:phases |
| 15614 | (substitute* "Makefile" | 15615 | (modify-phases %standard-phases |
| 15615 | (("\\$\\(shell which ldmd2\\)") (which "ldmd2"))) | 15616 | (delete 'configure) |
| 15616 | (setenv "CC" "gcc") | 15617 | (add-after 'unpack 'prepare-build-tools |
| 15617 | (setenv "D_LD" (which "ld.gold")))) | 15618 | (lambda* (#:key inputs #:allow-other-keys) |
| 15618 | (add-after 'unpack 'unbundle-prerequisites | 15619 | (substitute* "Makefile" |
| 15619 | (lambda _ | 15620 | (("\\$\\(shell which ldmd2\\)") (which "ldmd2"))) |
| 15620 | (substitute* "Makefile" | 15621 | (setenv "CC" "gcc") |
| 15621 | (("= lz4/lib/liblz4.a") "= -L-llz4") | 15622 | (setenv "D_LD" (which "ld.gold")))) |
| 15622 | (("ldc_version_info lz4-static") "ldc_version_info")))) | 15623 | (add-after 'unpack 'unbundle-prerequisites |
| 15623 | (replace 'install | 15624 | (lambda _ |
| 15624 | (lambda* (#:key outputs #:allow-other-keys) | 15625 | (substitute* "Makefile" |
| 15625 | (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) | 15626 | (("= lz4/lib/liblz4.a") "= -L-llz4") |
| 15626 | (mkdir-p bin) | 15627 | (("ldc_version_info lz4-static") "ldc_version_info")))) |
| 15627 | (copy-file (string-append "bin/sambamba-" ,version) | 15628 | (replace 'install |
| 15628 | (string-append bin "/sambamba")))))))) | 15629 | (lambda* (#:key outputs #:allow-other-keys) |
| 15629 | (native-inputs | 15630 | (let ((bin (string-append (assoc-ref outputs "out") "/bin"))) |
| 15630 | (list python)) | 15631 | (mkdir-p bin) |
| 15631 | (inputs | 15632 | (copy-file (string-append "bin/sambamba-" ,base-version) |
| 15632 | (list ldc lz4 zlib)) | 15633 | (string-append bin "/sambamba")))))))) |
| 15633 | (home-page "https://github.com/biod/sambamba") | 15634 | (native-inputs |
| 15634 | (synopsis "Tools for working with SAM/BAM data") | 15635 | (list python)) |
| 15635 | (description "Sambamba is a high performance modern robust and | 15636 | (inputs |
| 15637 | (list ldc lz4 zlib)) | ||
| 15638 | (home-page "https://github.com/biod/sambamba") | ||
| 15639 | (synopsis "Tools for working with SAM/BAM data") | ||
| 15640 | (description "Sambamba is a high performance modern robust and | ||
| 15636 | fast tool (and library), written in the D programming language, for | 15641 | fast tool (and library), written in the D programming language, for |
| 15637 | working with SAM and BAM files. Current parallelised functionality is | 15642 | working with SAM and BAM files. Current parallelised functionality is |
| 15638 | an important subset of samtools functionality, including view, index, | 15643 | an important subset of samtools functionality, including view, index, |
| 15639 | sort, markdup, and depth.") | 15644 | sort, markdup, and depth.") |
| 15640 | (license license:gpl2+))) | 15645 | (license license:gpl2+)))) |
| 15641 | 15646 | ||
| 15642 | (define-public r-rphyloxml | 15647 | (define-public r-rphyloxml |
| 15643 | (let ((commit "a30e39249239b2de01d6964ae2a2205a6c48b475") | 15648 | (let ((commit "a30e39249239b2de01d6964ae2a2205a6c48b475") |
