diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2026-03-12 11:00:53 +0100 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-03-12 14:11:30 +0100 |
| commit | 8be660ea5e0a7da02967ebf3225b456a4758bf0d (patch) | |
| tree | 568e8ddc5d553e174f1c6780b054d5fadb526315 /gnu/packages/electronics.scm | |
| parent | 7ca9795c5843c85979ca2b406aecff39d3cd5f9b (diff) | |
gnu: apycula: Update to 0.31.
* gnu/packages/electronics.scm (apycula): Update to 0.31.
[inputs]: Remove python-crc.
[propagated-inputs]: Add python-cattrs, python-crcmod, python-numpy,
python-msgpack, and python-msgspec.
[native-inputs]: Add python-setuptools-scm.
Merges guix/guix!6057
Change-Id: Ie5c8950a2632a168ed4686f744c06704495f5ddf
Diffstat (limited to 'gnu/packages/electronics.scm')
| -rw-r--r-- | gnu/packages/electronics.scm | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index b6f80010f7e..5cd74f3f901 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -119,6 +119,7 @@ #:use-module (gnu packages python-build) #:use-module (gnu packages python-check) #:use-module (gnu packages python-compression) + #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-science) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) @@ -281,7 +282,7 @@ formal verification. This is the Yosyshq fork of ABC.") (define-public apycula (package (name "apycula") - (version "0.28") + (version "0.31") ;; The pypi tar.gz file includes the necessary .pickle files, not available ;; in the home-page repository. (source @@ -289,11 +290,24 @@ formal verification. This is the Yosyshq fork of ABC.") (method url-fetch) (uri (pypi-uri "apycula" version)) (sha256 - (base32 "0llwcz4fji4sbdajlr43spf3mgdaw42rm15va1l9zb8314fn7wq1")))) + (base32 "0pf43cd071kv5ann78hl5qrcj9vhndr46ds2g12sgnfjfvh6pfpg")))) (build-system pyproject-build-system) - (arguments (list #:tests? #f)) ;requires Gowin EDA tools - (inputs (list python-crc)) - (native-inputs (list python-setuptools)) + (arguments + (list #:tests? #f ;requires Gowin EDA tools + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-setup + (lambda _ + ;; Acceptable, but degraded performance. + (substitute* "setup.py" + ((".*fastcrc.*") ""))))))) ;TODO: Package python-fastcrc + (propagated-inputs + (list python-cattrs + python-crcmod + python-numpy + python-msgpack + python-msgspec)) + (native-inputs (list python-setuptools python-setuptools-scm)) (home-page "https://github.com/YosysHQ/apicula/") (synopsis "Gowin FPGA bitstream format") (description |
