From 6ee8c93430f611e8d933ec8887aee8aae9b1b019 Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Wed, 15 Oct 2025 10:11:19 +0200 Subject: [PATCH] gnu: python-hdlmake: Update to 4.0. * gnu/packages/electronics.scm (python-hdlmake): Update to 4.0. [native-inputs]: Remove python-pytest; add python-pytest-cov. Change-Id: Ieed0d4e1f32e359149b52840f36d1aa5671d7eb9 Signed-off-by: Maxim Cournoyer --- gnu/packages/electronics.scm | 55 ++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 28 deletions(-) diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index e5a7ac66685d722ecd2458ebac2a5c5dd410338d..e2eabcfe66e37a0e3554e42d08981f0570f2a6c4 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -1637,36 +1637,35 @@ some tool-specific options are set.") (license license:bsd-2))) (define-public python-hdlmake - ;; Version bump to 4.0dev2, no tag. - (let ((commit "1d81071bf19b8f9c930e31731c5c847837591cb8") - (revision "0")) - (package - (name "python-hdlmake") - (version (git-version "4.0dev2" revision commit)) - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://gitlab.com/ohwr/project/hdl-make/") - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 "1l2j86z5smfxw9b842xcbijgl7nvkx3grw5hm54wvv3hkgyp30fn")))) - (build-system pyproject-build-system) - (arguments (list #:phases #~(modify-phases %standard-phases - (add-before 'check 'chdir - (lambda _ - (chdir "testsuite")))) - #:test-flags #~(list "test_all.py"))) - (native-inputs (list python-pytest python-setuptools)) - (propagated-inputs (list python-networkx)) - (home-page "https://ohwr.gitlab.io/project/hdl-make/") - (synopsis "Generate multi-purpose makefiles for HDL projects") - (description - "Hdlmake helps manage and share @acronym{HDL, hardware description + (package + (name "python-hdlmake") + (version "4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/ohwr/project/hdl-make/") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1mbsm1j058j3wjp0hypd7a9d1xh3xsmy9p3jl9xcpnzjmncm34xr")))) + (build-system pyproject-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-before 'check 'chdir + (lambda _ + (chdir "testsuite")))) + #:test-flags #~(list "test_all.py"))) + (native-inputs (list python-pytest-cov python-setuptools)) + (propagated-inputs (list python-networkx)) + (home-page "https://ohwr.gitlab.io/project/hdl-make/") + (synopsis "Generate multi-purpose makefiles for HDL projects") + (description + "Hdlmake helps manage and share @acronym{HDL, hardware description language} code by automatically finding file dependencies, writing synthesis and simulation Makefiles.") - (license license:gpl3+)))) + (license license:gpl3+))) (define-public python-migen ;; XXX: The latest version tag (0.9.2) was placed in 2019, there are latest