diff options
author | Cayetano Santos <csantosb@inventati.org> | 2025-04-01 10:50:13 +0200 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-13 21:40:06 +0100 |
commit | 8335a6d973c64a89f9a951c638a5d087b7bd8b61 (patch) | |
tree | ab718831beb22f6228428c326be17f53a5d9cd55 | |
parent | f0e0caa570681a29be34ca5a5c634da22a7c4099 (diff) | |
download | guix-8335a6d973c64a89f9a951c638a5d087b7bd8b61.tar.gz guix-8335a6d973c64a89f9a951c638a5d087b7bd8b61.zip |
gnu: Add python-edalize.
* gnu/packages/electronics.scm (python-edalize): New variable.
Change-Id: I993421a9eb20b2124acf28d0a8187d3e9845ae77
Co-authored-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r-- | gnu/packages/electronics.scm | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 53604130d6..828fbbcf34 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2021 Leo Famulari <leo@famulari.name> ;;; Copyright © 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2024 Juliana Sims <juli@incana.org> +;;; Copyright © 2025 Cayetano Santos <csantosb@inventati.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -568,6 +569,53 @@ Additionally your user must be member of the @code{plugdev} group.") VPI Interface, Elaborator, Serialization, Visitor and Listener.") (license license:asl2.0))) +(define-public python-edalize + (package + (name "python-edalize") + (version "0.6.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/olofk/edalize/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gfysk6wj3mxndyzma604i3y2lkfn1im0bdmzxv5rn4x2nyk68sc")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + #~(list "-k" (string-join + ;; XXX: Tests failing with assertion not equal, find out + ;; why. + (list "not test_gatemate" + "test_gatemate_minimal" + "test_vcs_tool_options" + "test_vcs_no_tool_options" + "test_vcs_minimal" + "test_vivado_edif_netlist" + "test_vivado_edif_netlist_no_link_design" + "test_xcelium") + " and not ")))) + (native-inputs + (list python-pytest + python-setuptools + python-wheel)) + (propagated-inputs + (list python-jinja2)) + (home-page "https://github.com/olofk/edalize/") + (synopsis "Python Library for interacting with EDA tools") + (description + "This package implements a functionality to create project files for +supported tools and run them in batch or GUI mode. All EDA tools such as +Icarus, Yosys, ModelSim, Vivado, Verilator, GHDL, Quartus etc get input HDL +files (Verilog and VHDL) and some tool-specific files (constraint files,memory +initialization files, IP description files etc). Together with the files, +perhaps a couple of Verilog `defines, some top-level parameters/generics or +some tool-specific options are set.") + (license license:bsd-2))) + (define-public python-vsg (package (name "python-vsg") |