summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-12-28 21:17:13 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-12-31 17:11:48 +0000
commit6681b4894d035c6ca499ea738f62536d6cdc7bc8 (patch)
tree0e854443c3dad0856848cdfc8d868ec064f1e937 /gnu
parent4a98c20de12571830350cb63cd250fffc0f17c72 (diff)
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 <sharlatanus@gmail.com>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/embedded.scm28
1 files changed, 12 insertions, 16 deletions
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index f89ff26a260..1830244896f 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