diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2026-03-24 14:25:50 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2026-03-24 15:04:44 +0200 |
| commit | 57fdf49a9c5dc7d04fe884ff64d8a228baac5ed4 (patch) | |
| tree | d19b86b7a04c1a73960fecb6cfc4a198e376872e | |
| parent | a4ad84dd16ad7aa2839533a0b43199a18e4ddc11 (diff) | |
gnu: ryzenadj: Satisfy linter.
* gnu/packages/linux.scm (ryzenadj): Format with 'guix style'.
[source]: Download using git-fetch.
[arguments]: Add build-type. Remove phases.
Change-Id: Ifcb12ddec61c3e73a6d055c9b19562b2f02cc294
| -rw-r--r-- | gnu/packages/linux.scm | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 4bd686fa69f..5e86eb21c7c 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -12856,24 +12856,25 @@ to build scalable network services based on a cluster of two or more nodes.") (package (name "ryzenadj") (version "0.17.0") - (source (origin - (method url-fetch) - (uri (string-append "https://github.com/flygoat/ryzenadj/archive/refs/tags/" - "v" version ".tar.gz")) - (sha256 - (base32 "0i2x6kbn2ix52vjz1mmh0c0g3w0k4sn0lq68wbsk0pgndzcck2l4")) - (modules '((guix build utils))) - (snippet - '(begin (delete-file-recursively "win32") - #t)))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/flygoat/ryzenadj") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0dpznl4h1f5syq5464a0h9grqlvlp0qmjxr59nq3gp363gr5vjfv")) + (modules '((guix build utils))) + (snippet + '(begin + (delete-file-recursively "win32"))))) (build-system cmake-build-system) (inputs (list pciutils)) (arguments - (list #:tests? #f ; No test suite - #:phases #~(modify-phases %standard-phases - (add-before 'install 'build - (lambda _ - (invoke "cmake" "-DCMAKE_BUILD_TYPE=Release" ".")))))) + (list + #:tests? #f ;No test suite + #:build-type "Release")) (home-page "https://github.com/flygoat/ryzenadj") (synopsis "Power management tool for AMD Ryzen APUs") (description |
