diff options
author | Danny Milosavljevic <dannym@scratchpost.org> | 2020-12-16 20:26:28 +0100 |
---|---|---|
committer | Danny Milosavljevic <dannym@scratchpost.org> | 2020-12-16 20:27:43 +0100 |
commit | 2b5eaf0e020015ef83aabfddb13aa45adaa2cdb7 (patch) | |
tree | 09dcc92614ac5e9f07e289234452c3e0f6074bc1 /gnu | |
parent | 47c8a9dacd0a213760d01921baeb718c35bab689 (diff) | |
download | guix-2b5eaf0e020015ef83aabfddb13aa45adaa2cdb7.tar.gz |
gnu: Add python-myhdl.
* gnu/packages/fpga.scm (python-myhdl): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/fpga.scm | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm index c43b0059dc..1802e0ed14 100644 --- a/gnu/packages/fpga.scm +++ b/gnu/packages/fpga.scm @@ -26,6 +26,7 @@ #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix build-system cmake) + #:use-module (guix build-system python) #:use-module (gnu packages) #:use-module (gnu packages compression) #:use-module (gnu packages pkg-config) @@ -374,3 +375,21 @@ simulator trace files (@dfn{FST}).") (home-page "http://gtkwave.sourceforge.net/") ;; Exception against free government use in tcl_np.c and tcl_np.h. (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+))) |