1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-10 08:30:39 +02:00

gnu: Add fortran-dftd4.

* gnu/packages/fortran-xyz.scm (fortran-dftd4): New variable.

Change-Id: I22adf29342a13d9c6d707f2e7ed1906c664aaa55
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
David Elsing 2025-06-03 22:56:54 +02:00 committed by Sharlatan Hellseher
parent 18387e966b
commit aa82bfff21
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -33,6 +33,41 @@
;;;
;;; Code:
(define-public fortran-dftd4
(package
(name "fortran-dftd4")
(version "3.7.0")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dftd4/dftd4")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32 "0alsvzgdkmw80wfpsds31pzgcr962xhq9q7yvc26jxgrn444yb3n"))))
(build-system meson-build-system)
(arguments
(list
#:configure-flags
#~(list (string-append "-Dfortran_link_args=-Wl,-rpath="
#$output "/lib"))))
(native-inputs
(list gfortran
pkg-config
python-minimal))
(inputs
(list fortran-mctc-lib
fortran-mstore
fortran-multicharge
lapack))
(home-page "https://github.com/dftd4/dftd4")
(synopsis "Implementation of the DFT-D4 dispersion correction")
(description
"This library provides an implementation of the DFT-D4 dispersion
correction with both a Fortran and a C interface.")
(license license:lgpl3+)))
(define-public fortran-mctc-lib
(package
(name "fortran-mctc-lib")