loom: flashing-tools: New module for firmware-flashing tools

* loom/packages/flashing-tools.scm: New module file
This commit is contained in:
Tissevert 2023-09-02 17:49:17 +02:00
parent 3e1a99a907
commit 8a32d869da
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
(define-module (loom packages flashing-tools)
#:use-module ((guix build-system python) #:select (pypi-uri))
#:use-module ((guix build-system pyproject) #:select (pyproject-build-system))
#:use-module ((guix download) #:select (url-fetch))
#:use-module ((guix licenses) #:select (expat))
#:use-module ((guix packages) #:select (base32 origin package)))
(define-public python-uflash
(package
(name "python-uflash")
(version "2.0.0")
(source (origin
(method url-fetch)
(uri (pypi-uri "uflash" version))
(sha256
(base32
"10i5nlsm4m82f93mm16z7zmj8fz41hvs9wzib3iy6dyg9wkd50zm"))))
(build-system pyproject-build-system)
(home-page "https://github.com/ntoll/uflash")
(synopsis "A module and utility to flash Python onto the BBC micro:bit.")
(description
"This package provides a module and utility to flash Python onto the BBC
micro:bit.")
(license expat)))
(define-public uflash
(package
(inherit python-uflash)
(name "uflash")))