diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2026-08-11 17:31:32 +0200 |
|---|---|---|
| committer | Cayetano Santos <csantosb@inventati.org> | 2026-08-17 15:22:51 +0200 |
| commit | 07b4f92b9a73f408b0c453f029dc8a718086e1ac (patch) | |
| tree | 51e766281c2d2244fc80fc922717414701c57a1d /gnu | |
| parent | 631eeedb4cc6bc2db43e3dff5673e1aebd85ef73 (diff) | |
gnu: volk: Refresh package.
* gnu/packages/engineering.scm (volk)[arguments]: Use G-Expressions.
Merges guix/guix!10485
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/engineering.scm | 65 |
1 files changed, 32 insertions, 33 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index b2ba05251d7..45027b02eb2 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm | |||
| @@ -1422,39 +1422,38 @@ WiFi signal strength maps. It visualizes them using a Voronoi diagram.") | |||
| 1422 | (base32 "1b6q7z971myih3q88lv01iwmwsjln7wibav365j7phnclr9hg41i")))) | 1422 | (base32 "1b6q7z971myih3q88lv01iwmwsjln7wibav365j7phnclr9hg41i")))) |
| 1423 | (build-system cmake-build-system) | 1423 | (build-system cmake-build-system) |
| 1424 | (arguments | 1424 | (arguments |
| 1425 | `(#:phases | 1425 | (list |
| 1426 | (modify-phases %standard-phases | 1426 | #:phases |
| 1427 | (add-after 'unpack 'disable-check-lgpl-test | 1427 | #~(modify-phases %standard-phases |
| 1428 | ;; Disable the failing check-lgpl test that is supposed to be run | 1428 | (add-after 'unpack 'disable-check-lgpl-test |
| 1429 | ;; only by upstream developers to check the authors and licenses | 1429 | ;; Disable the failing check-lgpl test that is supposed to be run |
| 1430 | ;; of contributions in the git history. | 1430 | ;; only by upstream developers to check the authors and licenses |
| 1431 | (lambda _ | 1431 | ;; of contributions in the git history. |
| 1432 | (substitute* "scripts/licensing/count_contrib.sh" | 1432 | (lambda _ |
| 1433 | (("#!/bin/bash" all) | 1433 | (substitute* "scripts/licensing/count_contrib.sh" |
| 1434 | (string-append all "\nexit 0"))))) | 1434 | (("#!/bin/bash" all) |
| 1435 | (add-after 'install 'remove-static-libraries | 1435 | (string-append all "\nexit 0"))))) |
| 1436 | ;; Remove libcpu_features.a (and any others that might appear). | 1436 | (add-after 'install 'remove-static-libraries |
| 1437 | (lambda* (#:key outputs #:allow-other-keys) | 1437 | ;; Remove libcpu_features.a (and any others that might appear). |
| 1438 | (let* ((out (assoc-ref outputs "out")) | 1438 | (lambda _ |
| 1439 | (lib (string-append out "/lib"))) | 1439 | (for-each delete-file |
| 1440 | (for-each delete-file (find-files lib "\\.a$" | 1440 | (find-files (string-append #$output "/lib") |
| 1441 | #:fail-on-error? #t))))) | 1441 | "\\.a$" |
| 1442 | (add-after 'install 'wrap-pythonpath | 1442 | #:fail-on-error? #t)))) |
| 1443 | (lambda* (#:key inputs outputs #:allow-other-keys) | 1443 | (add-after 'install 'wrap-pythonpath |
| 1444 | (let* ((out (assoc-ref outputs "out")) | 1444 | (lambda* (#:key inputs outputs #:allow-other-keys) |
| 1445 | (python (assoc-ref inputs "python")) | 1445 | (let* ((python (assoc-ref inputs "python")) |
| 1446 | (file (string-append out "/bin/volk_modtool")) | 1446 | (file (string-append #$output "/bin/volk_modtool")) |
| 1447 | (path (string-append | 1447 | (path (string-append |
| 1448 | out | 1448 | #$output |
| 1449 | "/lib/python" | 1449 | "/lib/python" |
| 1450 | ,(version-major+minor | 1450 | #$(version-major+minor (package-version python)) |
| 1451 | (package-version python)) | 1451 | "/site-packages:" |
| 1452 | "/site-packages:" | 1452 | (getenv "GUIX_PYTHONPATH")))) |
| 1453 | (getenv "GUIX_PYTHONPATH")))) | 1453 | (wrap-program file |
| 1454 | (wrap-program file | 1454 | `("GUIX_PYTHONPATH" ":" prefix (,path)) |
| 1455 | `("GUIX_PYTHONPATH" ":" prefix (,path)) | 1455 | `("PATH" ":" prefix |
| 1456 | `("PATH" ":" prefix | 1456 | (,(string-append python "/bin:")))))))))) |
| 1457 | (,(string-append python "/bin:")))))))))) | ||
| 1458 | (inputs | 1457 | (inputs |
| 1459 | (list bash-minimal ;for wrap-program | 1458 | (list bash-minimal ;for wrap-program |
| 1460 | boost | 1459 | boost |
