guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/06: gnu: Add savvy.


From: guix-commits
Subject: 05/06: gnu: Add savvy.
Date: Mon, 22 Apr 2024 10:38:51 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 4a5a23aceb6a6d90c17ee9f9be7da4917b735d2e
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Apr 22 15:58:56 2024 +0200

    gnu: Add savvy.
    
    * gnu/packages/bioinformatics.scm (savvy): New variable.
    
    Change-Id: I48dcfad2c6c769778bd79dffa084332da53991ad
---
 gnu/packages/bioinformatics.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 7cc193d4b8..d313835249 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -9386,6 +9386,43 @@ viewer.")
                (delete 'patch-tests)
                (delete 'configure))))))))
 
+(define-public savvy
+  (package
+    (name "savvy")
+    (version "2.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/statgen/savvy";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "03jh89gl67adnpkwx8yrdn62pd9sg69k21gxh15my2vvpfl1pxlx"))))
+    (build-system cmake-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      '(list "-DBUILD_TESTS=ON"
+             "-DBUILD_EVAL=ON")
+      #:phases
+      '(modify-phases %standard-phases
+         (add-after 'unpack 'use-shared-libraries
+           (lambda _
+             ;; Do not prefer static libraries.
+             (substitute* "CMakeLists.txt"
+               (("set\\(CMAKE_FIND_LIBRARY_SUFFIXES \".a;.*") "")))))))
+    (native-inputs (list pkg-config))
+    (inputs (list htslib))
+    (propagated-inputs (list streambuf-shrinkwrap))
+    (home-page "https://github.com/statgen/savvy/";)
+    (synopsis "Interface to various variant calling formats")
+    (description
+     "Savvy is the official C++ interface for the SAV file format and offers
+seamless support for BCF and VCF files.")
+    (license license:mpl2.0)))
+
 (define-public morpheus
   (package
     (name "morpheus")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]