guix-commits
[Top][All Lists]
Advanced

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

200/265: gnu: r-rhisat2: Update to 1.2.0.


From: guix-commits
Subject: 200/265: gnu: r-rhisat2: Update to 1.2.0.
Date: Sun, 15 Dec 2019 09:40:37 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 3dd2450e651cbf8faddf08095b36e511d4d8e2de
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Dec 15 15:23:31 2019 +0100

    gnu: r-rhisat2: Update to 1.2.0.
    
    * gnu/packages/bioconductor.scm (r-rhisat2): Update to 1.2.0.
    [arguments]: Add phase to make package reproducible and to avoid shelling 
out
    to 'which'.
    [native-inputs]: Remove which.
---
 gnu/packages/bioconductor.scm | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index ec72db0..07800d6 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -4877,18 +4877,28 @@ interpretation.")
 (define-public r-rhisat2
   (package
     (name "r-rhisat2")
-    (version "1.0.3")
+    (version "1.2.0")
     (source
      (origin
        (method url-fetch)
        (uri (bioconductor-uri "Rhisat2" version))
        (sha256
         (base32
-         "02ig9qci18n93vmya7q6bijrqsbfh69fyg8iqysf89ym2vd3x3c5"))))
+         "02fn5cm8sj2s9x00505y3iyipn1r3lpvpwpjy2pdxdbpmhb5hy49"))))
     (properties `((upstream-name . "Rhisat2")))
     (build-system r-build-system)
-    (native-inputs
-     `(("which" ,which)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'make-reproducible
+           (lambda _
+             (substitute* "src/Makefile"
+               (("`hostname`") "guix")
+               (("`date`") "0")
+               ;; Avoid shelling out to "which".
+               (("^CC =.*") (which "gcc"))
+               (("^CPP =.*") (which "g++")))
+             #t)))))
     (propagated-inputs
      `(("r-genomicfeatures" ,r-genomicfeatures)
        ("r-genomicranges" ,r-genomicranges)



reply via email to

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