me
/
guix
Archived
1
0
Fork 0

gnu: Add i7z.

* gnu/packages/hardware.scm (i7z): New public variable.
master
Tobias Geerinckx-Rice 2021-06-29 01:06:53 +02:00
parent 05528dcd48
commit a8b705252b
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
3 changed files with 61 additions and 6 deletions

View File

@ -137,6 +137,53 @@ calibrated, and restored when the calibration is applied.")
human-readable format and checks if it conforms to the standards.") human-readable format and checks if it conforms to the standards.")
(license license:expat)))) (license license:expat))))
(define-public i7z
(let ((revision "0")
(commit "1a41ff13db747e962456ddbb5ccb2b7fc43ca0cb"))
(package
(name "i7z")
(version (git-version "0.28" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/afontenot/i7z")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32 "0jxm63a8y1mfl1sa4mzzfs3bgnym6achj1yc0jglmp05xal16lm1"))
(modules '((guix build utils)))
(snippet
'(begin
(for-each delete-file-recursively
(list "src/GUI"
"src/perfmon-i7z"
"scripts"))))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
(list (string-append "prefix=" (assoc-ref %outputs "out"))
(string-append "CC=" ,(cc-for-target)))
#:tests? #f ; no test suite
#:phases
(modify-phases %standard-phases
(delete 'configure)))) ; no configure script
(inputs
`(("ncurses" ,ncurses)))
(home-page "https://github.com/afontenot/i7z")
(synopsis "Thermal and C-state reporting on older Intel Core CPUs")
(description
"The @command{i7z} utility accurately measures the current frequency
and temperature of older Intel Core (i3, i5, and i7) processors including the
Nehalem, Sandy Bridge, and Ivy Bridge generations. Reliable support for newer
CPUs is not guaranteed, as this package has not seen significant development
since 2013.
If your processor is supported, you'll get detailed reports on Turbo Boost and
clock multipliers, core voltage, and time spent in different C-states. This
information can be viewed in real time and/or logged to a file.")
(license license:gpl2))))
(define-public libsmbios (define-public libsmbios
(package (package
(name "libsmbios") (name "libsmbios")

View File

@ -481,11 +481,13 @@ used by RDS Spy, and audio files containing @dfn{multiplex} signals (MPX).")
(version "3.9.0.0") (version "3.9.0.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://www.gnuradio.org/releases/gnuradio/" (uri (git-reference
"gnuradio-" version ".tar.xz")) (url "https://github.com/gnuradio/gnuradio")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 "1jvm9xd0l2pz1fww4zii6hl7ccnvy256nrf70ljb594n7j9j49ha")))) (base32 "1fbl8lslzrkx7lpkibhvs6gvhqnn8yrrq3n6irybfnifh2536d36"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(native-inputs (native-inputs
`(("doxygen" ,doxygen) `(("doxygen" ,doxygen)
@ -550,6 +552,11 @@ used by RDS Spy, and audio files containing @dfn{multiplex} signals (MPX).")
"/share/javascript/mathjax")) "/share/javascript/mathjax"))
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'make-source-writable
(lambda _
;; The test_add and test_newmod open(sources, "w") for some reason.
(for-each make-file-writable
(find-files "." ".*"))))
(add-after 'unpack 'fix-paths (add-after 'unpack 'fix-paths
(lambda* (#:key inputs #:allow-other-keys) (lambda* (#:key inputs #:allow-other-keys)
(let ((qwt (assoc-ref inputs "qwt"))) (let ((qwt (assoc-ref inputs "qwt")))

View File

@ -945,7 +945,7 @@ files and text.")
(define-public nushell (define-public nushell
(package (package
(name "nushell") (name "nushell")
(version "0.32.0") (version "0.33.0")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -954,7 +954,7 @@ files and text.")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1wj054rzv88ys4ask4zp7crrw0dxrck8svlj3i16qqd8x5dnyhqs")))) (base32 "0rdvvg6hf01bljq0zz0c66kbzy5ggbcbil1j45hklzq0ibffdj02"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:rust ,rust-1.47 `(#:rust ,rust-1.47
@ -995,6 +995,7 @@ files and text.")
("rust-nu-plugin-to-sqlite" ,rust-nu-plugin-to-sqlite-0.32) ("rust-nu-plugin-to-sqlite" ,rust-nu-plugin-to-sqlite-0.32)
("rust-nu-plugin-tree" ,rust-nu-plugin-tree-0.32) ("rust-nu-plugin-tree" ,rust-nu-plugin-tree-0.32)
("rust-nu-plugin-xpath" ,rust-nu-plugin-xpath-0.32) ("rust-nu-plugin-xpath" ,rust-nu-plugin-xpath-0.32)
("rust-polars-0.13" ,rust-polars-0.13)
("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4)) ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.4))
#:cargo-development-inputs #:cargo-development-inputs
(("rust-dunce" ,rust-dunce-1) (("rust-dunce" ,rust-dunce-1)