diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2025-09-23 14:54:17 +0200 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2025-09-23 22:19:25 +0900 |
| commit | 2ff3cdf8aa1235db05e8a11755189e77750a7907 (patch) | |
| tree | c1c7e10c115aa10bc36d2109a7957971cc076c0b /gnu/packages/electronics.scm | |
| parent | 4660273f008704a5196ebadfe2281f2e59f65180 (diff) | |
gnu: icestorm: Improve style.
* gnu/packages/electronics.scm (icestorm): Improve style.
Change-Id: I54af740aa866cd3d0f5a02c76ca30c8cf293cb63
Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
Diffstat (limited to 'gnu/packages/electronics.scm')
| -rw-r--r-- | gnu/packages/electronics.scm | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index fca50ff7540..576104a9256 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -424,17 +424,14 @@ For synthesis, the compiler generates netlists in the desired format.") (list #:tests? #f ;no tests #:make-flags - #~(list (string-append "CC=" - #$(cc-for-target)) - (string-append "CXX=" - #$(cxx-for-target)) - (string-append "PREFIX=" - #$output) + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "CXX=" #$(cxx-for-target)) + (string-append "PREFIX=" #$output) "ICEPROG=1") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'fix-usr-local - (lambda* (#:key outputs #:allow-other-keys) + (lambda _ (substitute* "config.mk" (("/usr/local") #$output)) @@ -448,7 +445,7 @@ For synthesis, the compiler generates netlists in the desired format.") (("/usr/local") #$output)))) (add-after 'build 'make-info - (lambda* (#:key outputs #:allow-other-keys) + (lambda _ (with-directory-excursion "docs" (invoke "make" "info") (install-file "build/texinfo/projecticestorm.info" @@ -458,12 +455,14 @@ For synthesis, the compiler generates netlists in the desired format.") (string-append #$output "/share/info/projecticestorm-figures"))))) (delete 'configure)))) - (inputs (list libftdi)) - (native-inputs (list pkg-config - python-minimal - python-sphinx-rtd-theme - python-sphinxcontrib-svg2pdfconverter - texinfo)) + (inputs + (list libftdi)) + (native-inputs + (list pkg-config + python-minimal + python-sphinx-rtd-theme + python-sphinxcontrib-svg2pdfconverter + texinfo)) (home-page "https://prjicestorm.readthedocs.io/") (synopsis "Bitstream tools for Lattice iCE40 FPGAs") (description |
