From 79240b4b4eb3a3f62130d310660aef87ff43ced4 Mon Sep 17 00:00:00 2001 From: Simon South Date: Thu, 22 Dec 2022 12:09:53 -0500 Subject: gnu: abc: Use gexps. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/fpga.scm (abc)[arguments]: Use gexps; simplify "install" phase. Signed-off-by: Ludovic Courtès --- gnu/packages/fpga.scm | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'gnu/packages/fpga.scm') diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index 8784ba9c12..9bc387c762 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -84,16 +84,14 @@ (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 -- cgit v1.2.3