about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gn/packages/pangenome.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gn/packages/pangenome.scm b/gn/packages/pangenome.scm
index af5d9de..e2a1fa1 100644
--- a/gn/packages/pangenome.scm
+++ b/gn/packages/pangenome.scm
@@ -1412,6 +1412,30 @@ multiple sequence alignment.")
         license:zlib
         license:boost1.0))))
 
+(define-public vg-1.71
+  ;; Older release pinned for the pangenome workshop material; the
+  ;; build customisation is identical to vg above so we inherit it
+  ;; and only override version + source (origin must repeat the
+  ;; snippet because overriding source replaces it whole).
+  (package
+    (inherit vg)
+    (version "1.71.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://github.com/vgteam/vg/releases/download/v"
+                            version "/vg-v" version ".tar.gz"))
+        (sha256
+         (base32 "06ag9gb57wjvmxy4pzvskpkph6i6jvs0vy8rjm1xdk3g76l8vhjb"))
+        (snippet
+         #~(begin
+             (use-modules (guix build utils))
+             (substitute* (find-files "." "(CMakeLists\\.txt|Makefile)")
+               (("-march=native") "")
+               (("-mtune=native") "")
+               (("-msse4.2") "")
+               (("-mcx16") ""))))))))
+
 (define-public bandage-ng
   (package
     (name "bandage-ng")