Subject: [PATCH electronics-team v3] gnu: Add python-pydigitalwavetools.
From: Cayetano Santos <[email-masked]>
To: [email-masked]
Cc: Cayetano Santos <[email-masked]>, Cayetano Santos via Guix-patches via <[email-masked]>
Date: Tue, 13 May 2025 10:25:35 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Cayetano Santos via Guix-patches via <[email-masked]>

* gnu/packages/electronics.scm (python-pydigitalwavetools): New variable.

Change-Id: Iff4d12231b366cff20b386fb1d1ae121ef50e51e
Signed-off-by: Cayetano Santos <[email-masked]>
---
 gnu/packages/electronics.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm
index da37a9fb33..21c088460c 100644
--- a/gnu/packages/electronics.scm
+++ b/gnu/packages/electronics.scm
@@ -610,6 +610,33 @@ (define-public python-edalize
 some tool-specific options are set.")
     (license license:bsd-2)))
 
+(define-public python-pydigitalwavetools
+  (package
+    (name "python-pydigitalwavetools")
+    (version "1.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Nic30/pyDigitalWaveTools/")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0fll8anz3i1j1nngsij1psp8766kvdfpls655lbxn2ykypv3633m"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-pytest
+           python-setuptools
+           python-wheel))
+    (home-page "https://github.com/Nic30/pyDigitalWaveTools/")
+    (synopsis "Library to manipulate digital wave files")
+    (description
+     "Pydigitalwavetools is a Python library to parse, write and format digital
+wave files in @acronym{VCD, Value Change Dump} format, a standardized ASCII
+format used to store simulation data from Verilog and other hardware description
+languages.")
+    (license license:expat)))
+
 (define-public python-surf
   (package
     (name "python-surf")

base-commit: 8a86f221d4066e7a0df2d07208c817035b98a949
-- 
2.49.0