[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: Add icestorm.
From: |
Efraim Flashner |
Subject: |
04/06: gnu: Add icestorm. |
Date: |
Sun, 9 Oct 2016 15:20:00 +0000 (UTC) |
efraim pushed a commit to branch master
in repository guix.
commit 36aa11c7858dce4ea2f55c48452c2a4c1a2fff5f
Author: Danny Milosavljevic <address@hidden>
Date: Tue Sep 27 02:04:58 2016 +0200
gnu: Add icestorm.
* gnu/packages/fpga.scm (icestorm): New variable.
Signed-off-by: Efraim Flashner <address@hidden>
---
gnu/packages/fpga.scm | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index 3514e94..e5e1517 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -188,3 +188,43 @@ For synthesis, the compiler generates netlists in the
desired format.")
(synopsis "FPGA Verilog RTL synthesizer")
(description "Yosys synthesizes Verilog-2005.")
(license license:isc)))
+
+(define-public icestorm
+ (let ((commit "12b2295c9087d94b75e374bb205ae4d76cf17e2f")
+ (revision "1"))
+ (package
+ (name "icestorm")
+ (version (string-append "0.0-" revision "-" (string-take commit 9)))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/cliffordwolf/icestorm.git")
+ (commit commit)))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "1mmzlqvap6w8n4qzv3idvy51arkgn03692ssplwncy3akjrbsd2b"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:tests? #f ; no unit tests that don't need an FPGA exist.
+ #:make-flags (list "CC=gcc" "CXX=g++"
+ (string-append "PREFIX=" (assoc-ref %outputs "out")))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'remove-usr-local
+ (lambda _
+ (substitute* "iceprog/Makefile"
+ (("-I/usr/local/include") "")
+ (("-L/usr/local/lib") ""))
+ #t))
+ (delete 'configure))))
+ (inputs
+ `(("libftdi" ,libftdi)))
+ (native-inputs
+ `(("python-3" ,python)
+ ("pkg-config" ,pkg-config)))
+ (home-page "http://www.clifford.at/icestorm/")
+ (synopsis "Project IceStorm - Lattice iCE40 FPGAs bitstream tools")
+ (description "Project IceStorm - Lattice iCE40 FPGAs Bitstream Tools.
+Includes the actual FTDI connector.")
+ (license license:isc))))
- branch master updated (7f43ff9 -> adc2f04), Efraim Flashner, 2016/10/09
- 04/06: gnu: Add icestorm.,
Efraim Flashner <=
- 05/06: gnu: Add arachne-pnr., Efraim Flashner, 2016/10/09
- 06/06: gnu: Add gtkwave., Efraim Flashner, 2016/10/09
- 02/06: gnu: Add iverilog., Efraim Flashner, 2016/10/09
- 03/06: gnu: Add yosys., Efraim Flashner, 2016/10/09
- 01/06: gnu: Add abc., Efraim Flashner, 2016/10/09