diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2019-12-15 15:23:31 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-12-15 15:39:07 +0100 |
commit | 3dd2450e651cbf8faddf08095b36e511d4d8e2de (patch) | |
tree | 251f51d8e6f14e5bda6d1d2e7cbeb8b1d6ba041f /gnu | |
parent | a15e52ec7862f9952edfe398bea6bd8ef7775ae8 (diff) | |
download | guix-3dd2450e651cbf8faddf08095b36e511d4d8e2de.tar.gz |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/bioconductor.scm | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index ec72db0e4a..07800d636b 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) |