diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-12-22 11:28:54 +0100 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-27 21:42:21 +0000 |
| commit | 06e34decdbc01fa9f9ea02007d86062dfd387353 (patch) | |
| tree | ea2ce1e4b23d4069340baa6f096a8e18508ec303 | |
| parent | 4a3faf19d41c4ad5c33fd5e87eaa7cc7a5546e4e (diff) | |
gnu: me-cleaner: Switch to pyproject.
* gnu/packages/flashing-tools.scm (me-cleaner):
[source, description]: Improve style.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:phases>: Refresh them, use gexps.
[native-inputs]: Add python-setuptools.
| -rw-r--r-- | gnu/packages/flashing-tools.scm | 44 |
1 files changed, 24 insertions, 20 deletions
diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm index eef4b12ec20..cbf8739f076 100644 --- a/gnu/packages/flashing-tools.scm +++ b/gnu/packages/flashing-tools.scm @@ -44,6 +44,7 @@ #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system meson) + #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix build-system qt) #:use-module (guix download) @@ -78,6 +79,7 @@ #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) + #:use-module (gnu packages python-build) #:use-module (gnu packages qt) #:use-module (gnu packages readline) #:use-module (gnu packages swig) @@ -490,29 +492,31 @@ Management Engine (ME). You need to @code{sudo rmmod mei_me} and (package (name "me-cleaner") (version "1.2") - (source (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/corna/me_cleaner") - (commit (string-append "v" version)))) - (sha256 - (base32 - "1bdj2clm13ir441vn7sv860xsc5gh71ja5lc2wn0gggnff0adxj4")) - (file-name (git-file-name name version)))) - (build-system python-build-system) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/corna/me_cleaner") + (commit (string-append "v" version)))) + (sha256 + (base32 "1bdj2clm13ir441vn7sv860xsc5gh71ja5lc2wn0gggnff0adxj4")) + (file-name (git-file-name name version)))) + (build-system pyproject-build-system) (arguments - `(#:phases - (modify-phases %standard-phases - (add-after 'install 'install-documentation - (lambda* (#:key outputs #:allow-other-keys) - (let* ((out (assoc-ref outputs "out")) - (man (string-append out "/share/man/man1"))) - (install-file "man/me_cleaner.1" man) - #t)))))) + (list + #:tests? #f ; No tests. + #:phases + #~(modify-phases %standard-phases + (add-after 'install 'install-documentation + (lambda _ + (install-file "man/me_cleaner.1" + (string-append #$output "/share/man/man1"))))))) + (native-inputs (list python-setuptools)) (home-page "https://github.com/corna/me_cleaner") (synopsis "Intel ME cleaner") - (description "This package provides tools for disabling Intel -ME as far as possible (it only edits ME firmware image files).") + (description + "This package provides tools for disabling Intel ME as far as possible +(it only edits ME firmware image files).") (license license:gpl3+) ;; This is an Intel thing. |
