unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#71150] [PATCH] gnu: bwa: Update to 0.7.18.
@ 2024-05-23 17:26 King, Spencer via Guix-patches via
  0 siblings, 0 replies; only message in thread
From: King, Spencer via Guix-patches via @ 2024-05-23 17:26 UTC (permalink / raw)
  To: 71150

[-- Attachment #1: Type: text/plain, Size: 246 bytes --]

This new release of bwa adds support for ARM64 processors. I needed to change the origin from a url to a git reference since there isn't a release tarball for this version. There is only the auto-generated tarball which the linter does not like. 

[-- Attachment #2: 0001-gnu-bwa-Update-to-0.7.18.patch --]
[-- Type: application/octet-stream, Size: 2680 bytes --]

From 343836f39323d7dd8b3ac6c55e4abf0f0937ec4d Mon Sep 17 00:00:00 2001
Message-Id: <343836f39323d7dd8b3ac6c55e4abf0f0937ec4d.1716484788.git.spencer.king@geneoscopy.com>
From: Spencer King <spencer.king@geneoscopy.com>
Date: Thu, 23 May 2024 17:03:34 +0000
Subject: [PATCH] gnu: bwa: Update to 0.7.18.

* gnu/packages/bioinformatics.scm (bwa): Update to 0.7.18.

Change-Id: I63dd0f13f337fbf84967f1ef1b6332ce3391ae97
---
 gnu/packages/bioinformatics.scm | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index b7e8e54de2..a9a63f30d1 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -26,6 +26,7 @@
 ;;; Copyright © 2022, 2023 Navid Afkhami <navid.afkhami@mdc-berlin.de>
 ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
 ;;; Copyright © 2024 Alexis Simon <alexis.simon@runbox.com>
+;;; Copyright © 2024 Spencer King <spencer.king@geneoscopy.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4126,15 +4127,16 @@ (define-public tophat
 (define-public bwa
   (package
     (name "bwa")
-    (version "0.7.17")
+    (version "0.7.18")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/lh3/bwa/releases/download/v"
-                    version "/bwa-" version ".tar.bz2"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/lh3/bwa")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1zfhv2zg9v1icdlq4p9ssc8k01mca5d1bd87w71py2swfi74s6yy"))))
+                "1vf3iwkzxqkzhcfz2q3qyvcv3jrvbb012qy21pfgjl8lv20ywfr1"))))
     (build-system gnu-build-system)
     (arguments
      '(#:tests? #f ;no "check" target
@@ -4152,12 +4154,10 @@ (define-public bwa
                (install-file "libbwa.a" lib)
                (install-file "README.md" doc)
                (install-file "bwa.1" man))))
-           ;; no "configure" script
-          (delete 'configure))))
+         ;; no "configure" script
+         (delete 'configure))))
     (inputs (list zlib))
-    ;; Non-portable SSE instructions are used so building fails on platforms
-    ;; other than x86_64.
-    (supported-systems '("x86_64-linux"))
+    (supported-systems '("x86_64-linux" "aarch64-linux"))
     (home-page "https://bio-bwa.sourceforge.net/")
     (synopsis "Burrows-Wheeler sequence aligner")
     (description

base-commit: c3fe248e6987025c7d4ffdb6da0a3fc77f5a3f39
-- 
2.34.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-23 17:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-23 17:26 [bug#71150] [PATCH] gnu: bwa: Update to 0.7.18 King, Spencer via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).