diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2026-03-11 11:24:39 +0100 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-03-11 11:24:39 +0100 |
| commit | 9d66b99bd3600b8c3f7a9f428d4eb236149f1ed7 (patch) | |
| tree | e30acabcb20c16738d6df649f0f9204b8f4929e7 /gnu/packages | |
| parent | 1ef7a2925f41f457e6e801c614d081a980aebc32 (diff) | |
gnu: json-for-vhdl: Move to hdl.
* gnu/packages/electronics.scm (json-for-vhdl): Move from here ...
* gnu/packages/hdl.scm: ... to here.
Change-Id: I498b652ae7edcad71dd0924264dbd84694ac6a87
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/electronics.scm | 61 | ||||
| -rw-r--r-- | gnu/packages/hdl.scm | 43 |
2 files changed, 43 insertions, 61 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 3486f4432b8..796a35e380b 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -797,67 +797,6 @@ iCE40 FPGAs and providing simple tools for analyzing and creating bitstream files.") (license license:isc))) -(define-public json-for-vhdl - ;; No tagged releases. - (let ((commit "0dc9e317440263cd4941f157f5e5668baa858ec2") - (revision "0")) - (package - (name "json-for-vhdl") - (version (git-version "20220905" revision commit)) ;last revision - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/Paebbels/JSON-for-VHDL/") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1062g2c3dpsb67zhqrn1j04p7jl28g4mcxd6nhrqqfffjsvxkpw9")))) - (build-system copy-build-system) - (arguments - (list - #:install-plan - #~'(("src" "share/json-for-vhdl/work/src" - #:include ("vhdl"))) - #:phases - #~(modify-phases %standard-phases - ;; The examples/Encodings_VUnit test requires vhdl builtins. - (add-after 'unpack 'fix-check - (lambda _ - (substitute* "tests/VUnit/run.py" - (("from_argv\\(\\)") - "from_argv()\nvu.add_vhdl_builtins()"))))))) - (native-search-paths - (list (search-path-specification - (variable "FW_JSON_VHDL") - (separator #f) - (files (list "share/json-for-vhdl"))))) - (home-page "https://github.com/Paebbels/JSON-for-VHDL/") - (synopsis "Parse and query JSON data structures in VHDL") - (description - "The JSON-for-VHDL library provides a parser to query JSON data -structures from external files on disk. It provides a context to be -used in the declarative section of design units.") - (license license:asl2.0)))) - -;;; Required by python-vunit. -(define json-for-vhdl-for-vunit - (let ((commit "95e848b8902c6b4275d715462e1a2cc60706917c") ;sync with vunit - (revision "0")) - (package - (inherit json-for-vhdl) - (name "json-for-vhdl-for-vunit") - (version (git-version "20220106" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/Paebbels/JSON-for-VHDL/") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1c106hm0sfnzdi5j9vaacjlz7i5m1dm75j7lrgcdsa4siw5ac7k3"))))))) - (define-public klayout (package (name "klayout") diff --git a/gnu/packages/hdl.scm b/gnu/packages/hdl.scm index 825fc8ebd60..f53592efce3 100644 --- a/gnu/packages/hdl.scm +++ b/gnu/packages/hdl.scm @@ -63,6 +63,49 @@ as approved and published by the @acronym{VHDL, Very High Speed Hardware Description Language} Analysis and Standardization Group.") (license license:asl2.0))) +(define-public json-for-vhdl + ;; No tagged releases. + (let ((commit "0dc9e317440263cd4941f157f5e5668baa858ec2") + (revision "0")) + (package + (name "json-for-vhdl") + (version (git-version "20220905" revision commit)) ;last revision + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/Paebbels/JSON-for-VHDL/") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1062g2c3dpsb67zhqrn1j04p7jl28g4mcxd6nhrqqfffjsvxkpw9")))) + (build-system copy-build-system) + (arguments + (list + #:install-plan + #~'(("src" "share/json-for-vhdl/work/src" + #:include ("vhdl"))) + #:phases + #~(modify-phases %standard-phases + ;; The examples/Encodings_VUnit test requires vhdl builtins. + (add-after 'unpack 'fix-check + (lambda _ + (substitute* "tests/VUnit/run.py" + (("from_argv\\(\\)") + "from_argv()\nvu.add_vhdl_builtins()"))))))) + (native-search-paths + (list (search-path-specification + (variable "FW_JSON_VHDL") + (separator #f) + (files (list "share/json-for-vhdl"))))) + (home-page "https://github.com/Paebbels/JSON-for-VHDL/") + (synopsis "Parse and query JSON data structures in VHDL") + (description + "The JSON-for-VHDL library provides a parser to query JSON data +structures from external files on disk. It provides a context to be +used in the declarative section of design units.") + (license license:asl2.0)))) + (define-public neorv32 (package (name "neorv32") |
