summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhislain Vaillant <ghislain.vaillant@inria.fr>2026-07-30 15:14:31 +0200
committerGhislain Vaillant <ghislain.vaillant@inria.fr>2026-07-30 15:14:31 +0200
commit4809a69382c8250e49f2e364e4866408f9a64652 (patch)
treef28a8150b3dd8a98b6e3c52da3a331a5ff66bddb
parente8313f658d1722262e2d787f6dca4dde53b02a6c (diff)
chemistry: Add trexio.
* guix-science/packages/chemistry.scm (trexio): New variable.
-rw-r--r--guix-science/packages/chemistry.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/guix-science/packages/chemistry.scm b/guix-science/packages/chemistry.scm
index 30b4294..2067db6 100644
--- a/guix-science/packages/chemistry.scm
+++ b/guix-science/packages/chemistry.scm
@@ -21,6 +21,7 @@
21 #:use-module (gnu packages compression) 21 #:use-module (gnu packages compression)
22 #:use-module (gnu packages cpp) 22 #:use-module (gnu packages cpp)
23 #:use-module (gnu packages databases) 23 #:use-module (gnu packages databases)
24 #:use-module (gnu packages emacs)
24 #:use-module (gnu packages freedesktop) 25 #:use-module (gnu packages freedesktop)
25 #:use-module (gnu packages gcc) 26 #:use-module (gnu packages gcc)
26 #:use-module (gnu packages gettext) 27 #:use-module (gnu packages gettext)
@@ -806,3 +807,31 @@ for electronic-structure calculations and materials modeling at the
806nanoscale. It is based on density-functional theory, plane waves, and 807nanoscale. It is based on density-functional theory, plane waves, and
807pseudopotentials.") 808pseudopotentials.")
808 (license license:gpl2+))) 809 (license license:gpl2+)))
810
811(define-public trexio
812 (package
813 (name "trexio")
814 (version "2.6.1")
815 (source
816 (origin
817 (method git-fetch)
818 (uri (git-reference
819 (url "https://github.com/TREX-CoE/trexio")
820 (commit (string-append "v" version))))
821 (file-name (git-file-name name version))
822 (sha256
823 (base32 "1wkp2w480qgkqshclfniigwvkb6vxk4dgy06lqkz2szdspnssi48"))))
824 (build-system cmake-build-system)
825 (inputs (list hdf5))
826 (native-inputs (list emacs gfortran python))
827 (home-page "https://trex-coe.github.io/trexio/")
828 (synopsis "TREX I/O library")
829 (description
830 "TREXIO is an open-source file format and library developed for the storage
831and manipulation of data produced by quantum chemistry calculations. It is
832designed with the goal of providing a reliable and efficient method of storing
833and exchanging wave function parameters and matrix elements. The library
834consists of a front-end implemented in the C programming language and two
835different back-ends: a text back-end and a binary back-end utilizing the HDF5
836library which enables fast read and write operations.")
837 (license license:bsd-3)))