diff options
| author | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2026-08-02 18:25:44 +0200 |
|---|---|---|
| committer | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2026-08-02 18:25:44 +0200 |
| commit | 5546cf782fe49ae7ed815ccbab7cd3636be9038e (patch) | |
| tree | eee535c212180226e760323c0be7cb90c9a75d50 | |
| parent | 8d075b9f0046d6eeb669fe67e2e44d50c72002d6 (diff) | |
maths: Add cdt.
* guix-science/packages/maths.scm (cdt): New variable.
| -rw-r--r-- | guix-science/packages/maths.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/guix-science/packages/maths.scm b/guix-science/packages/maths.scm index 3861ec3..5b3266c 100644 --- a/guix-science/packages/maths.scm +++ b/guix-science/packages/maths.scm | |||
| @@ -69,6 +69,37 @@ same time, takes advantages of modern C++ features, such as: | |||
| 69 | namespaces, templates, exceptions, etc.") | 69 | namespaces, templates, exceptions, etc.") |
| 70 | (license license:bsd-3))) | 70 | (license license:bsd-3))) |
| 71 | 71 | ||
| 72 | (define-public cdt | ||
| 73 | (package | ||
| 74 | (name "cdt") | ||
| 75 | (version "1.4.5") | ||
| 76 | (source | ||
| 77 | (origin | ||
| 78 | (method git-fetch) | ||
| 79 | (uri (git-reference | ||
| 80 | (url "https://github.com/artem-ogre/CDT") | ||
| 81 | (commit version))) | ||
| 82 | (file-name (git-file-name name version)) | ||
| 83 | (sha256 | ||
| 84 | (base32 "1af7ixiafi6mp00hadk8g9z0b8vqivvkm47qqls5wr5kcp93nwsm")))) | ||
| 85 | (build-system cmake-build-system) | ||
| 86 | (arguments | ||
| 87 | (list | ||
| 88 | #:configure-flags | ||
| 89 | #~(list "-DCDT_ENABLE_TESTING:BOOL=ON") | ||
| 90 | #:phases | ||
| 91 | #~(modify-phases %standard-phases | ||
| 92 | (add-after 'unpack 'change-source-directory | ||
| 93 | (lambda _ | ||
| 94 | (chdir "CDT")))))) | ||
| 95 | (native-inputs (list catch2)) | ||
| 96 | (home-page "https://artem-ogre.github.io/CDT/") | ||
| 97 | (synopsis "Constrained Delaunay triangulation in C++") | ||
| 98 | (description | ||
| 99 | "CDT is a C++ library for generating constraint or conforming Delaunay | ||
| 100 | triangulations.") | ||
| 101 | (license license:mpl2.0))) | ||
| 102 | |||
| 72 | (define-public dbcsr | 103 | (define-public dbcsr |
| 73 | (package | 104 | (package |
| 74 | (name "dbcsr") | 105 | (name "dbcsr") |
