guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: flair: Add missing R packages.


From: guix-commits
Subject: branch master updated: gnu: flair: Add missing R packages.
Date: Thu, 27 Oct 2022 12:22:13 -0400

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 176a501360 gnu: flair: Add missing R packages.
176a501360 is described below

commit 176a501360699581b49f19ffde1ea3bb6285b8be
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Oct 27 18:19:48 2022 +0200

    gnu: flair: Add missing R packages.
    
    * gnu/packages/bioinformatics.scm (flair)[propagated-inputs]: Add 
python-rpy2.
    [inputs]: Add r-minimal, r-deseq2, r-drimseq, r-ggplot2, r-lazyeval, 
r-qqman,
    and r-rlang.
    [arguments]: Add phase "wrap-executable".
---
 gnu/packages/bioinformatics.scm | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index d431e467ed..fd110ab960 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -17043,13 +17043,30 @@ module capable of computing base-level alignments for 
very large sequences.")
             (lambda _
               (apply invoke "pip" "--no-cache-dir" "--no-input"
                      "install" "--no-deps" "--prefix" #$output
-                     (find-files "dist" "\\.whl$")))))))
+                     (find-files "dist" "\\.whl$"))))
+          (add-after 'install 'wrap-executable
+            (lambda _
+              (for-each
+               (lambda (script)
+                 (wrap-program script
+                   `("R_LIBS_SITE" ":" = (,(getenv "R_LIBS_SITE")))))
+               (find-files (string-append #$output "/bin"))))))))
     (propagated-inputs
      (list python-mappy
            python-ncls
            python-pybedtools
            python-pysam
+           python-rpy2
            python-tqdm))
+    ;; Used by rpy2
+    (inputs
+     (list r-minimal  ;for R_LIBS_SITE
+           r-deseq2   ;for runDE
+           r-drimseq  ;for runDS
+           r-ggplot2  ;runDS, runDU
+           r-lazyeval ;for rpy2
+           r-qqman    ;for runDE
+           r-rlang))  ;for rpy2
     (native-inputs
      (list python-pypa-build python-setuptools))
     (home-page "https://flair.readthedocs.io/en/latest/";)



reply via email to

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