unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 61148@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#61148] [PATCH 4/5] gnu: Add libvcfh.
Date: Sun, 29 Jan 2023 15:12:37 +0200	[thread overview]
Message-ID: <9625ac451fe44ad7e2ea707e999cdc94d1389fce.1674997469.git.efraim@flashner.co.il> (raw)
In-Reply-To: <cover.1674997469.git.efraim@flashner.co.il>

* 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





  parent reply	other threads:[~2023-01-29 13:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-29 13:09 [bug#61148] [PATCH 0/5] Update vcflib Efraim Flashner
2023-01-29 13:12 ` [bug#61148] [PATCH 1/5] gnu: intervaltree: Update to 0.1-1.aa59377 Efraim Flashner
2023-01-29 13:12 ` [bug#61148] [PATCH 2/5] gnu: tabixpp: Update to 1.1.2 Efraim Flashner
2023-01-29 13:12 ` [bug#61148] [PATCH 3/5] gnu: Add wfa2-lib Efraim Flashner
2023-01-29 13:12 ` Efraim Flashner [this message]
2023-01-29 13:12 ` [bug#61148] [PATCH 5/5] gnu: vcflib: Update to 1.0.6 Efraim Flashner
2023-10-27 12:38 ` [bug#61148] [PATCH 0/5] Update vcflib Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9625ac451fe44ad7e2ea707e999cdc94d1389fce.1674997469.git.efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=61148@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).