Archived
1
0
Fork 0

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