gnu: abc: Use gexps.

* gnu/packages/fpga.scm (abc)[arguments]: Use gexps; simplify "install" phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Simon South 2022-12-22 12:09:53 -05:00 committed by Ludovic Courtès
parent c10238966e
commit 79240b4b4e
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -84,16 +84,14 @@ (define-public abc
(inputs
(list readline))
(arguments
`(#:license-file-regexp "copyright.txt"
#:tests? #f ; no check target
#:phases
(modify-phases %standard-phases
(delete 'configure)
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(out-bin (string-append out "/bin")))
(install-file "abc" out-bin)))))))
(list #:license-file-regexp "copyright.txt"
#:tests? #f ; no check target
#:phases
#~(modify-phases %standard-phases
(delete 'configure)
(replace 'install
(lambda _
(install-file "abc" (string-append #$output "/bin")))))))
(home-page "https://people.eecs.berkeley.edu/~alanmi/abc/")
(synopsis "Sequential logic synthesis and formal verification")
(description "ABC is a program for sequential logic synthesis and