From 9be266116ba274ecf6a66178c17e51414dde3eec Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Mon, 7 Oct 2019 15:32:20 +0200 Subject: [PATCH] gnu: me-cleaner: Update to 1.2. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/flashing-tools.scm (me-cleaner): Update to 1.2. [arguments]: Remove ‘create-setup.py’ phase. Add ‘install-documentation’ phase. --- gnu/packages/flashing-tools.scm | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/gnu/packages/flashing-tools.scm b/gnu/packages/flashing-tools.scm index 42ce560ca7..7d5c1cf723 100644 --- a/gnu/packages/flashing-tools.scm +++ b/gnu/packages/flashing-tools.scm @@ -413,28 +413,25 @@ Management Engine (ME). You need to @code{sudo rmmod mei_me} and (define-public me-cleaner (package (name "me-cleaner") - (version "1.1") + (version "1.2") (source (origin (method url-fetch) (uri (string-append "https://github.com/corna/me_cleaner/" "archive/v" version ".tar.gz")) (sha256 (base32 - "1pgwdqy0jly80nhxmlmyibs343497yjzs6dwfbkcw0l1gjm8i5hw")) + "0hdnay1ai0r6l69z63jkiz6yfwdsqc2mrfyj77hgadv7xxxqm6na")) (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))))) + (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)))))) (home-page "https://github.com/corna/me_cleaner") (synopsis "Intel ME cleaner") (description "This package provides tools for disabling Intel