mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: nvc: Improve package style.
* gnu/packages/fpga.scm (nvc)[source]: Use git-file-name. Remove .git to fix the redirection. [arguments]: Use G-expressions. Change-Id: I44115f13503ae5b3f82cc50cb2fc31168ea3a714
This commit is contained in:
parent
deafd4b03a
commit
6d54f34513
1 changed files with 10 additions and 11 deletions
|
@ -10,6 +10,7 @@
|
|||
;;; Copyright © 2023 Simon South <simon@simonsouth.net>
|
||||
;;; Copyright © 2024 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2024 Jakob Kirsch <jakob.kirsch@web.de>
|
||||
;;; Copyright © 2025 Zheng Junjie <873216071@qq.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -558,19 +559,17 @@ automated testing of HDL code.")
|
|||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/nickg/nvc.git")
|
||||
(url "https://github.com/nickg/nvc")
|
||||
(commit (string-append "r" version))))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1bcilpdd6qg0vwvbwjb4rcs0j051sc53yalxsgz8r8gm123ck40j"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:out-of-source? #t
|
||||
#:configure-flags
|
||||
'("--enable-vhpi")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(list #:out-of-source? #t
|
||||
#:configure-flags #~(list "--enable-vhpi")
|
||||
#:phases #~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'clean-up
|
||||
(lambda _
|
||||
(delete-file "autogen.sh"))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue