GNU bug report logs - #71476
[PATCH] gnu: Add r-rphyloxml.

Previous Next

Package: guix-patches;

Reported by: "Afkhami, Navid" <Navid.Afkhami <at> mdc-berlin.de>

Date: Mon, 10 Jun 2024 16:41:03 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 71476 in the body.
You can then email your comments to 71476 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#71476; Package guix-patches. (Mon, 10 Jun 2024 16:41:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Afkhami, Navid" <Navid.Afkhami <at> mdc-berlin.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 10 Jun 2024 16:41:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Afkhami, Navid" <Navid.Afkhami <at> mdc-berlin.de>
To: <guix-patches <at> gnu.org>
Cc: "Afkhami, Navid" <Navid.Afkhami <at> mdc-berlin.de>
Subject: [PATCH] gnu: Add r-rphyloxml.
Date: Mon, 10 Jun 2024 15:41:37 +0000
* gnu/packages/bioinformatics.scm (r-rphyloxml): New variable.

Change-Id: I5b799986064f2af5fe74454f2e78fea7d9947260
---
 gnu/packages/bioinformatics.scm | 43 +++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index cecd94bbb7..3282258b48 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -14096,6 +14096,49 @@ (define-public sambamba
 sort, markdup, and depth.")
     (license license:gpl2+)))
 
+(define-public r-rphyloxml
+  (let ((commit "a30e39249239b2de01d6964ae2a2205a6c48b475")
+        (revision "1"))
+    (package
+      (name "r-rphyloxml")
+      (version (git-version "0.0-9000" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/USCbiostats/rphyloxml")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "15ijzqvjxx6vqyqlg5asdbqlhw1g0ix6palf1rism3si0qapddgw"))))
+      (properties `((upstream-name . "rphyloxml")))
+      (build-system r-build-system)
+      (arguments
+       (list
+        #:modules '((guix build r-build-system)
+                    (guix build minify-build-system)
+                    (guix build utils)
+                    (ice-9 match))
+        #:imported-modules `(,@%r-build-system-modules (guix build
+                                                        minify-build-system))
+        #:phases '(modify-phases %standard-phases
+                    (add-after 'unpack 'process-javascript
+                      (lambda* (#:key inputs #:allow-other-keys)
+                        (with-directory-excursion "inst/"
+                          (for-each (match-lambda
+                                      ((source . target) (minify source
+                                                                 #:target
+                                                                 target)))
+                                    '())))))))
+      (propagated-inputs (list r-ape r-xml2))
+      (native-inputs (list esbuild))
+      (home-page "https://github.com/USCbiostats/rphyloxml")
+      (synopsis "Read and write phyloXML files in R")
+      (description
+       "The package reads phylogenetic data in the @code{phyloXML} format.
+It also includes functions for writing data in this format.")
+      (license license:expat))))
+
 (define-public ritornello
   (package
     (name "ritornello")

base-commit: 2b2337f275a6421a0d0964c54987df4ac74162e6
-- 
2.34.1





Reply sent to Ricardo Wurmus <rekado <at> elephly.net>:
You have taken responsibility. (Fri, 28 Jun 2024 20:51:02 GMT) Full text and rfc822 format available.

Notification sent to "Afkhami, Navid" <Navid.Afkhami <at> mdc-berlin.de>:
bug acknowledged by developer. (Fri, 28 Jun 2024 20:51:02 GMT) Full text and rfc822 format available.

Message #10 received at 71476-done <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 71476-done <at> debbugs.gnu.org
Subject: [PATCH] gnu: Add r-rphyloxml.
Date: Fri, 28 Jun 2024 22:49:52 +0200
Thanks for the patch.  This one was incomplete: the importer only
generates a skeleton to replace minified JavaScript files.  I fleshed it
out and added the missing inputs.

-- 
Ricardo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 27 Jul 2024 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.