From 6754eb339c559d27beed718e16ec001ef38483fa Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 14 May 2023 13:29:34 +0200 Subject: gnu: delly: Simplify. * gnu/packages/bioinformatics.scm (delly)[source]: Simplify snippet. [arguments]: Do not use quasiquote; simplify 'install-templates phase. --- gnu/packages/bioinformatics.scm | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 1e9abd3c63..13f16ce026 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -4027,25 +4027,23 @@ (define-public delly (base32 "1ibnplgfzj96w8glkx17v7sld3pm402fr5ybmf3h0rlcryabxrqy")) (modules '((guix build utils))) (snippet - '(begin - (delete-file-recursively "src/htslib") - #t)))) + '(delete-file-recursively "src/htslib")))) (build-system gnu-build-system) (arguments - `(#:tests? #f ; There are no tests to run. - #:make-flags - ,#~(list "PARALLEL=1" ; Allow parallel execution at run-time. - (string-append "prefix=" #$output)) - #:phases - (modify-phases %standard-phases - (delete 'configure) ; There is no configure phase. - (add-after 'install 'install-templates - (lambda* (#:key outputs #:allow-other-keys) - (let ((templates (string-append (assoc-ref outputs "out") - "/share/delly/templates"))) - (mkdir-p templates) - (copy-recursively "excludeTemplates" templates) - #t)))))) + (list + #:tests? #f ;There are no tests to run. + #:make-flags + #~(list "PARALLEL=1" ; Allow parallel execution at run-time. + (string-append "prefix=" #$output)) + #:phases + #~(modify-phases %standard-phases + (delete 'configure) ; There is no configure phase. + (add-after 'install 'install-templates + (lambda _ + (let ((templates (string-append #$output + "/share/delly/templates"))) + (mkdir-p templates) + (copy-recursively "excludeTemplates" templates))))))) (inputs (list boost bzip2 htslib zlib)) (home-page "https://github.com/dellytools/delly") -- cgit v1.2.3