GNU bug report logs -
#32488
[PATCH] gnu: Add msr-tools.
Previous Next
Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>
Date: Mon, 20 Aug 2018 23:27:01 UTC
Severity: normal
Tags: patch
Done: Tobias Geerinckx-Rice <me <at> tobias.gr>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 32488 <at> debbugs.gnu.org (full text, mbox):
Tobias Geerinckx-Rice wrote:
> * gnu/packages/admin.scm (msr-tools): New public variable.
> ---
> gnu/packages/admin.scm | 46
> ++++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 46 insertions(+)
>
> diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
> index c9230c329..ac259fc00 100644
> --- a/gnu/packages/admin.scm
> +++ b/gnu/packages/admin.scm
> @@ -468,6 +468,52 @@ asks for a login name and then transfers
> over to 'login'. It is extended to
> allow automatic login and starting any app.")
> (license license:gpl2+)))
>
> +(define-public msr-tools
> + (package
> + (name "msr-tools")
> + (version "1.3")
> + (source
> + (origin
> + (method url-fetch)
> + (uri (string-append
> "https://01.org/sites/default/files/downloads/"
> + name "/" name "-" version ".zip"))
> + (sha256
> + (base32
> "07hxmddg0l31kjfmaq84ni142lbbvgq6391r8bd79wpm819pnigr"))))
> + (build-system gnu-build-system)
> + (arguments
> + `(#:make-flags
> + (list (string-append "sbindir=" (assoc-ref %outputs
> "out") "/sbin"))
> + #:phases
> + (modify-phases %standard-phases
> + (delete 'configure) ; no configure script
> + (add-before 'install 'create-output-directory
> + (lambda* (#:key outputs #:allow-other-keys)
> + (let* ((out (assoc-ref outputs "out"))
> + (sbin (string-append out "/sbin")))
> + (mkdir-p sbin)
> + #t))))
> + #:tests? #f)) ; no test suite
Also, as Marius just noted, this is all hella x86-specific so just
imagine a
+ (supported-systems '("i686-linux" "x86_64-linux"))
right around here.
Kind regards,
T G-R
This bug report was last modified 6 years and 270 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.