mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-myhdl: Update to 0.11-0.7dc29c2.
* gnu/packages/fpga.scm (python-myhdl): Update to 0.11-0.7dc29c2. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Replace check #:phase. [native-inputs]: Add iverilog, python-setuptools-next, and python-pytest. Change-Id: I43d6da67bea5f5cc020881f33f399a62d2706e59 Signed-off-by: Maxim Cournoyer <maxim@guixotic.coop>
This commit is contained in:
parent
368f83a08a
commit
09877fd193
1 changed files with 29 additions and 14 deletions
|
@ -614,22 +614,37 @@ Python program.")
|
||||||
(license license:bsd-2))))
|
(license license:bsd-2))))
|
||||||
|
|
||||||
(define-public python-myhdl
|
(define-public python-myhdl
|
||||||
|
(let ((commit "7dc29c242cd33cb835c336a81ffc3a461eaa92f4")
|
||||||
|
(revision "0"))
|
||||||
(package
|
(package
|
||||||
(name "python-myhdl")
|
(name "python-myhdl")
|
||||||
(version "0.11.51")
|
(version (git-version "0.11" revision commit))
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri (pypi-uri "myhdl" version))
|
(uri (git-reference
|
||||||
|
(url "https://github.com/myhdl/myhdl/")
|
||||||
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0b360smk2m60vhxdi837hz75m0pnms477wkn9gh6m4v3nih1v4cx"))))
|
"1b91yvr0ksrw3bx61i7914caf8pyks9c242kwmj4l12zjd06mp56"))))
|
||||||
(build-system python-build-system)
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(invoke "make" "iverilog" "core")))))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(native-inputs
|
||||||
|
(list iverilog python-setuptools-next python-pytest))
|
||||||
(home-page "http://www.myhdl.org/")
|
(home-page "http://www.myhdl.org/")
|
||||||
(synopsis "Python as a Hardware Description Language")
|
(synopsis "Python as a Hardware Description Language")
|
||||||
(description "This package provides a library to turn Python into
|
(description "This package provides a library to turn Python into
|
||||||
a hardware description and verification language.")
|
a hardware description and verification language.")
|
||||||
(license license:lgpl2.1+)))
|
(license license:lgpl2.1+))))
|
||||||
|
|
||||||
(define-public python-vunit
|
(define-public python-vunit
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue