summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-05-12 14:34:12 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-05-12 15:26:50 +0900
commit77802617c3702e6b5bc5d9f41d20e6383e55c52f (patch)
tree83e8aff8080681018ada96871e618672c9b47184
parent221899c2023c864e966e4eda37054c172c782cb4 (diff)
gnu: nextpnr-ice40. Rename to nextpnr an deprecate it.
* gnu/packages/fpga.scm (nextpnr-ice40): Rename to... (nextpnr): ... this. [configure-flage]: Add 'generic' to -DARCH flag. [inputs]: Add corrosion. (nextpnr-ice40): Define as a deprecated alias of nextpnr. Change-Id: Ic3476a6a4220ec20191897a6efb3d4aa347b51c2 Co-authored-by: Cayetano Santos <csantosb@inventati.org>
-rw-r--r--gnu/packages/fpga.scm12
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index 22f38b7886..2019700d72 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -12,6 +12,7 @@
;;; Copyright © 2024 Jakob Kirsch <jakob.kirsch@web.de>
;;; Copyright © 2025 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2025 Cayetano Santos <csantosb@inventati.org>
+;;; Copyright © 2025 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -32,6 +33,7 @@
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix gexp)
#:use-module (guix packages)
+ #:use-module (guix deprecation)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix utils)
@@ -356,9 +358,9 @@ Lattice iCE40 FPGAs and providing simple tools for analyzing and creating bitstr
files.")
(license license:isc))))
-(define-public nextpnr-ice40
+(define-public nextpnr
(package
- (name "nextpnr-ice40")
+ (name "nextpnr")
(version "0.8")
(source
(origin
@@ -406,7 +408,7 @@ files.")
(list
#:cmake cmake ;CMake 3.25 or higher is required.
#:configure-flags
- #~(list "-DARCH=ice40"
+ #~(list "-DARCH=generic;ice40" ;TODO: enable more architectures?
"-DBUILD_GUI=ON"
"-DUSE_OPENMP=ON"
"-DBUILD_TESTS=ON"
@@ -431,6 +433,7 @@ files.")
sanitizers-cmake))
(inputs
(list boost
+ corrosion
eigen
icestorm
pybind11
@@ -444,6 +447,9 @@ files.")
(home-page "https://github.com/YosysHQ/nextpnr/")
(license license:isc)))
+(define-public nextpnr-ice40
+ (deprecated-package "nextpnr-ice40" nextpnr))
+
(define-public gtkwave
(package
(name "gtkwave")