guix-patches
[Top][All Lists]
Advanced

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

[bug#61148] [PATCH 4/5] gnu: Add libvcfh.


From: Efraim Flashner
Subject: [bug#61148] [PATCH 4/5] gnu: Add libvcfh.
Date: Sun, 29 Jan 2023 15:12:37 +0200

* gnu/packages/bioinformatics.scm (libvcfh): New variable.
---
 gnu/packages/bioinformatics.scm | 37 +++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 7b5d5c5e8c..05a07af7f3 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -15744,6 +15744,43 @@ (define-public wfa2-lib
 architectures without adapting the code.")
       (license license:expat))))
 
+(define-public libvcfh
+  (let ((commit "44b6580639a216a484fd96de75a839091f25768a")
+        (revision "1"))
+    (package
+      (name "libvcfh")
+      (version (git-version "0.0.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/edawson/libVCFH.git";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32 
"0jjqnzvai0849czh1hi5inm6y0228cw2s97i76f3vhyxj21mzvwm"))))
+      (build-system gnu-build-system)
+      (arguments
+       (list
+         #:phases
+         #~(modify-phases %standard-phases
+             (delete 'configure)        ; No configure script
+             (replace 'check
+               (lambda* (#:key tests? make-flags #:allow-other-keys)
+                 (when tests?
+                   (apply invoke "make" "test" make-flags)
+                   (invoke "./test"))))
+             (replace 'install
+               (lambda* (#:key outputs #:allow-other-keys)
+                 (let ((out (assoc-ref outputs "out")))
+                   (install-file "libvcfh.a" (string-append out "/lib"))
+                   (install-file "vcfheader.hpp"
+                                 (string-append out "/include/libvcfh"))))))))
+      (home-page "https://github.com/edawson/libVCFH";)
+      (synopsis "Library for generating VCF headers")
+      (description "@code{libVCFH} is a set of data structures you can populate
+to print a VCf header.  It should be in spec with VCF4.1/4.2.")
+      (license license:expat))))
+
 (define-public smithwaterman
   (let ((commit "2610e259611ae4cde8f03c72499d28f03f6d38a7"))
     (package
-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted






reply via email to

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