diff options
| author | Yiran Lu <yiranls@outlook.com> | 2026-07-22 14:44:01 +0200 |
|---|---|---|
| committer | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2026-07-29 17:45:28 +0200 |
| commit | 9be4aa54418c85de00190686b4c885b2bd010ed6 (patch) | |
| tree | b48894ee95246fd51eb8013941e7da4e3716b587 | |
| parent | 4cc5d3aa97ea1c4511f748a75a1e2a43e12b8874 (diff) | |
chemistry: cp2k: Update to 2026.2.
* guix-science/packages/chemistry.scm (cp2k)
[source]: Update to 2026.2.
[arguments]<#:phases>: Fix tests.
[inputs]: Replace hdf5 by hdf5-parallel-openmpi.
| -rw-r--r-- | guix-science/packages/chemistry.scm | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/guix-science/packages/chemistry.scm b/guix-science/packages/chemistry.scm index 01f982a..effea5c 100644 --- a/guix-science/packages/chemistry.scm +++ b/guix-science/packages/chemistry.scm | |||
| @@ -95,7 +95,7 @@ allows users to have many projects opened simultaneously.") | |||
| 95 | (define-public cp2k | 95 | (define-public cp2k |
| 96 | (package | 96 | (package |
| 97 | (name "cp2k") | 97 | (name "cp2k") |
| 98 | (version "2026.1") | 98 | (version "2026.2") |
| 99 | (source | 99 | (source |
| 100 | (origin | 100 | (origin |
| 101 | (method git-fetch) | 101 | (method git-fetch) |
| @@ -103,7 +103,7 @@ allows users to have many projects opened simultaneously.") | |||
| 103 | (url "https://github.com/cp2k/cp2k") | 103 | (url "https://github.com/cp2k/cp2k") |
| 104 | (commit (string-append "v" version)))) | 104 | (commit (string-append "v" version)))) |
| 105 | (file-name (git-file-name name version)) | 105 | (file-name (git-file-name name version)) |
| 106 | (sha256 (base32 "1k635v9m600v6nsck6dr0rfms2k1ww7rvz1rnvlv5fqxacrj7knm")))) | 106 | (sha256 (base32 "0w1jkz1c7706qsjnkmm1xiqvq55f13xw7q7jyvba12cagv9b8cd2")))) |
| 107 | (build-system cmake-build-system) | 107 | (build-system cmake-build-system) |
| 108 | (arguments | 108 | (arguments |
| 109 | (list | 109 | (list |
| @@ -123,6 +123,13 @@ allows users to have many projects opened simultaneously.") | |||
| 123 | "-DCP2K_USE_SPGLIB=ON") | 123 | "-DCP2K_USE_SPGLIB=ON") |
| 124 | #:phases | 124 | #:phases |
| 125 | #~(modify-phases %standard-phases | 125 | #~(modify-phases %standard-phases |
| 126 | (add-after 'unpack 'patch-test-dirs | ||
| 127 | ;; Rectify the tests/TEST_DIRS file according to GitHub issue | ||
| 128 | ;; https://github.com/cp2k/cp2k/issues/5623 | ||
| 129 | (lambda _ | ||
| 130 | (substitute* "tests/TEST_DIRS" | ||
| 131 | (("(xTB/regtest-3-spglib)([ \t]+)spglib" all test spaces) | ||
| 132 | (string-append test spaces "spglib tblite"))))) | ||
| 126 | (replace 'check | 133 | (replace 'check |
| 127 | (lambda* (#:key tests? #:allow-other-keys) | 134 | (lambda* (#:key tests? #:allow-other-keys) |
| 128 | (when tests? | 135 | (when tests? |
| @@ -133,7 +140,7 @@ allows users to have many projects opened simultaneously.") | |||
| 133 | deepmd | 140 | deepmd |
| 134 | elpa-openmpi | 141 | elpa-openmpi |
| 135 | fftw | 142 | fftw |
| 136 | hdf5 | 143 | hdf5-parallel-openmpi |
| 137 | libxc | 144 | libxc |
| 138 | openmpi | 145 | openmpi |
| 139 | plumed | 146 | plumed |
