diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-25 12:48:25 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-04-25 12:50:56 +0100 |
| commit | e6edc113cccdddcaed975b76deaab3c880d4158d (patch) | |
| tree | dbc5dc74405e33e969556928e6a436078694ca89 /gnu | |
| parent | e16a2d16397aebdb9414848ac0dde33b6fa7d839 (diff) | |
gnu: python-migen: Update to 0.9.2-0.2828df5.
* gnu/packages/fpga.scm (python-migen): Update to 0.9.2-0.2828df5.
[source]: Use the latest commit contains changes supporting Python 3.11.
[build-system]: Switch to pyproject
[native-inputs]: Add python-pytest, python-setuptools, and python-wheel.
Change-Id: Id6eee0f2a034b60195fb433df731123c3b749f2d
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/fpga.scm | 59 |
1 files changed, 34 insertions, 25 deletions
diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index e1043efc48b..dfbe1a28946 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm | |||
| @@ -467,31 +467,40 @@ simulator trace files (@dfn{FST}).") | |||
| 467 | (license (list license:gpl2+ license:expat license:tcl/tk)))) | 467 | (license (list license:gpl2+ license:expat license:tcl/tk)))) |
| 468 | 468 | ||
| 469 | (define-public python-migen | 469 | (define-public python-migen |
| 470 | (package | 470 | ;; XXX: The latest version tag (0.9.2) was placed in 2019, there are latest |
| 471 | (name "python-migen") | 471 | ;; changes supporting Python 3.11 on master branch, see |
| 472 | (version "0.9.2") | 472 | ;; <https://github.com/m-labs/migen/issues/259>. |
| 473 | (source | 473 | (let ((commit "2828df54594673653a641ab551caf6c6b1bfeee5") |
| 474 | (origin | 474 | (revision "0")) |
| 475 | ;; Tests fail in the PyPI tarball due to missing files. | 475 | (package |
| 476 | (method git-fetch) | 476 | (name "python-migen") |
| 477 | (uri (git-reference | 477 | (version (git-version "0.9.2" revision commit)) |
| 478 | (url "https://github.com/m-labs/migen") | 478 | (source |
| 479 | (commit version))) | 479 | (origin |
| 480 | (file-name (git-file-name name version)) | 480 | ;; Tests fail in the PyPI tarball due to missing files. |
| 481 | (sha256 | 481 | (method git-fetch) |
| 482 | (base32 "1kq11if64zj84gv4w1q7l16fp17xjxl2wv5hc9dibr1z3m1gy67l")))) | 482 | (uri (git-reference |
| 483 | (build-system python-build-system) | 483 | (url "https://github.com/m-labs/migen") |
| 484 | (propagated-inputs | 484 | (commit commit))) |
| 485 | (list python-colorama)) | 485 | (file-name (git-file-name name version)) |
| 486 | (home-page "https://m-labs.hk/gateware/migen/") | 486 | (sha256 |
| 487 | (synopsis "Python toolbox for building complex digital hardware") | 487 | (base32 "0my2jwrb64n39dfcipiw9s2cbg1r4s6zh4ybf4dwid9hk86fi6hs")))) |
| 488 | (description | 488 | (build-system pyproject-build-system) |
| 489 | "Migen FHDL is a Python library that replaces the event-driven | 489 | (native-inputs |
| 490 | paradigm of Verilog and VHDL with the notions of combinatorial and | 490 | (list python-pytest |
| 491 | synchronous statements, has arithmetic rules that make integers always | 491 | python-setuptools |
| 492 | behave like mathematical integers, and allows the design's logic to be | 492 | python-wheel)) |
| 493 | constructed by a Python program.") | 493 | (propagated-inputs |
| 494 | (license license:bsd-2))) | 494 | (list python-colorama)) |
| 495 | (home-page "https://m-labs.hk/gateware/migen/") | ||
| 496 | (synopsis "Python toolbox for building complex digital hardware") | ||
| 497 | (description | ||
| 498 | "Migen FHDL is a Python library that replaces the event-driven paradigm | ||
| 499 | of Verilog and VHDL with the notions of combinatorial and synchronous | ||
| 500 | statements, has arithmetic rules that make integers always behave like | ||
| 501 | mathematical integers, and allows the design's logic to be constructed by a | ||
| 502 | Python program.") | ||
| 503 | (license license:bsd-2)))) | ||
| 495 | 504 | ||
| 496 | (define-public python-myhdl | 505 | (define-public python-myhdl |
| 497 | (package | 506 | (package |
