guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 6681b4894d035c6ca499ea738f62536d6cdc7bc8
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Dec 28 21:17:13 2025 +0100

    gnu: stcgal: Switch to pyproject.
    
    * gnu/packages/embedded.scm (stcgal):
    [source]: Improve style.
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-pytest, python-setuptools.
    
    Change-Id: I586a3c56b23572d2552e3779afda4447c708a63b
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/embedded.scm | 28 ++++++++++++----------------
 1 file changed, 12 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index f89ff26a26..1830244896 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -1757,24 +1757,20 @@ these identified regions.
   (package
     (name "stcgal")
     (version "1.10")
-    (source (origin
-              ;; The "doc" subdirectory referred to by stcgal's setup.py is
-              ;; missing from the source distribution on PyPI so we fetch
-              ;; directly from the project's git repository instead.
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/grigorig/stcgal";)
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "04hsj49sw5mb6swhd3sdsm7dzwp1frnzpmq70wgsn5vmjavb1ka8"))))
-    (build-system python-build-system)
-    (propagated-inputs
-     (list python-pyserial python-pyusb python-tqdm))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/grigorig/stcgal";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "04hsj49sw5mb6swhd3sdsm7dzwp1frnzpmq70wgsn5vmjavb1ka8"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-pyserial python-pyusb python-tqdm))
     (native-inputs
      ;; For tests.
-     (list python-pyyaml))
+     (list python-pytest python-pyyaml python-setuptools))
     (home-page "https://github.com/grigorig/stcgal";)
     (synopsis "Programmer for STC 8051-compatible microcontrollers")
     (description "stcgal is a command-line flash-programming tool for STC

Reply via email to