gnu: multichoose: Clean up.

* gnu/packages/bioinformatics.scm (multichoos): Fix indentation.
[arguments]: Use G-expression.
This commit is contained in:
Ricardo Wurmus 2023-05-12 22:33:44 +02:00
parent 6d72af0747
commit 001d9b1c64
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -17369,30 +17369,30 @@ (define-public multichoose
(name "multichoose")
(version "1.0.3")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ekg/multichoose/")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0ci5fqvmpamwgxvmyd79ygj6n3bnbl3vc7b6h1sxz58186sm3pfs"))))
(method git-fetch)
(uri (git-reference
(url "https://github.com/ekg/multichoose/")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0ci5fqvmpamwgxvmyd79ygj6n3bnbl3vc7b6h1sxz58186sm3pfs"))))
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; Tests require node.
#:phases
(modify-phases %standard-phases
(delete 'configure) ; There is no configure phase.
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
(include (string-append out "/include")))
;; TODO: There are Python modules for these programs too.
(install-file "multichoose" bin)
(install-file "multipermute" bin)
(install-file "multichoose.h" include)
(install-file "multipermute.h" include))
#t)))))
(list
#:tests? #f ;Tests require node.
#:phases
#~(modify-phases %standard-phases
(delete 'configure) ;There is no configure phase.
(replace 'install
(lambda _
(let ((bin (string-append #$output "/bin"))
(include (string-append #$output "/include")))
;; TODO: There are Python modules for these programs too.
(install-file "multichoose" bin)
(install-file "multipermute" bin)
(install-file "multichoose.h" include)
(install-file "multipermute.h" include)))))))
(home-page "https://github.com/ekg/multichoose")
(synopsis "Efficient loopless multiset combination generation algorithm")
(description "This library implements an efficient loopless multiset