(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")))