mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add me-cleaner.
* gnu/packages/flashing-tools.scm (me-cleaner): New variable.
This commit is contained in:
parent
9721c0b6ef
commit
0297a160a0
1 changed files with 32 additions and 0 deletions
|
@ -31,6 +31,7 @@ (define-module (gnu packages flashing-tools)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (guix build-system cmake)
|
#:use-module (guix build-system cmake)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
|
#:use-module (guix build-system python)
|
||||||
#:use-module (gnu packages bison)
|
#:use-module (gnu packages bison)
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages flex)
|
#:use-module (gnu packages flex)
|
||||||
|
@ -402,3 +403,34 @@ (define-public intelmetool
|
||||||
@code{sudo rmmod mei} before using this tool. Also pass
|
@code{sudo rmmod mei} before using this tool. Also pass
|
||||||
@code{iomem=relaxed} to the Linux kernel command line.")
|
@code{iomem=relaxed} to the Linux kernel command line.")
|
||||||
(license license:gpl2)))
|
(license license:gpl2)))
|
||||||
|
|
||||||
|
(define-public me-cleaner
|
||||||
|
(package
|
||||||
|
(name "me-cleaner")
|
||||||
|
(version "1.1")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://github.com/corna/me_cleaner/"
|
||||||
|
"archive/v" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1pgwdqy0jly80nhxmlmyibs343497yjzs6dwfbkcw0l1gjm8i5hw"))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))))
|
||||||
|
(build-system python-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'create-setup.py
|
||||||
|
(lambda _
|
||||||
|
(call-with-output-file "setup.py"
|
||||||
|
(lambda (port)
|
||||||
|
(format port "\
|
||||||
|
from setuptools import setup
|
||||||
|
setup(name='me_cleaner', version='~a', scripts=['me_cleaner.py'])
|
||||||
|
" ,version)))
|
||||||
|
#t)))))
|
||||||
|
(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).")
|
||||||
|
(license license:gpl3+)))
|
||||||
|
|
Loading…
Reference in a new issue