~ruther/guix-local

aa82bfff213126468ee1c69052e3600059c3d0e3 — David Elsing 1 year, 2 months ago 18387e9
gnu: Add fortran-dftd4.

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

Change-Id: I22adf29342a13d9c6d707f2e7ed1906c664aaa55
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
1 files changed, 35 insertions(+), 0 deletions(-)

M gnu/packages/fortran-xyz.scm
M gnu/packages/fortran-xyz.scm => gnu/packages/fortran-xyz.scm +35 -0
@@ 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")