gnu: Add python-myhdl.

* gnu/packages/fpga.scm (python-myhdl): New variable.
This commit is contained in:
Danny Milosavljevic 2020-12-16 20:26:28 +01:00
parent 47c8a9dacd
commit 2b5eaf0e02
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -26,6 +26,7 @@ (define-module (gnu packages fpga)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system cmake) #:use-module (guix build-system cmake)
#:use-module (guix build-system python)
#:use-module (gnu packages) #:use-module (gnu packages)
#:use-module (gnu packages compression) #:use-module (gnu packages compression)
#:use-module (gnu packages pkg-config) #:use-module (gnu packages pkg-config)
@ -374,3 +375,21 @@ (define-public gtkwave
(home-page "http://gtkwave.sourceforge.net/") (home-page "http://gtkwave.sourceforge.net/")
;; Exception against free government use in tcl_np.c and tcl_np.h. ;; Exception against free government use in tcl_np.c and tcl_np.h.
(license (list license:gpl2+ license:expat license:tcl/tk)))) (license (list license:gpl2+ license:expat license:tcl/tk))))
(define-public python-myhdl
(package
(name "python-myhdl")
(version "0.11")
(source
(origin
(method url-fetch)
(uri (pypi-uri "myhdl" version))
(sha256
(base32
"04fi59cyn5dsci0ai7djg74ybkqfcjzhj1jfmac2xanbcrw9j3yk"))))
(build-system python-build-system)
(home-page "http://www.myhdl.org/")
(synopsis "Python as a Hardware Description Language")
(description "This package provides a library to turn Python into
a hardware description and verification language. ")
(license license:lgpl2.1+)))