summaryrefslogtreecommitdiff
path: root/gnu/packages/maths.scm
diff options
context:
space:
mode:
authorLars Bilke <lars.bilke@ufz.de>2026-05-26 12:10:31 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2026-05-29 16:36:18 +0100
commitfa5a46958fc173d72b98e89aae807c0d7f86d6b4 (patch)
treed0929ae5eba26cb19add1f50f4fbecb046963148 /gnu/packages/maths.scm
parente87c221cd250ba1bf8486221eafd5653e4445063 (diff)
gnu: Add xdmf.
* gnu/packages/math.scm (xdmf): New variable. * gnu/packages/patches/xdmf-3.0.0-hdf5.patch: Patch for xdmf. * gnu/local.mk: Register patch. Relates-to: guix/guix!8841 Change-Id: I0606eaf8f6524f3efe71b442405438e4df070ff7 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r--gnu/packages/maths.scm32
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 1cb54b1d7b6..875e6209be3 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -11732,3 +11732,35 @@ use the library and researchers to make new capabilities available under a
11732common interface. 11732common interface.
11733") 11733")
11734 (license license:bsd-3))) 11734 (license license:bsd-3)))
11735
11736(define-public xdmf
11737 (package
11738 (name "xdmf")
11739 ;; Project does not publish releases / tags
11740 (properties '((commit . "04a84bab0eb1568e0f1a27c8fb60c6931efda003")
11741 (revision . "0")))
11742 (version (git-version "3.0.0"
11743 (assoc-ref properties 'revision)
11744 (assoc-ref properties 'commit)))
11745 (source
11746 (origin
11747 (method git-fetch)
11748 (uri (git-reference
11749 (url "https://gitlab.kitware.com/xdmf/xdmf")
11750 (commit (assoc-ref properties 'commit))))
11751 (file-name (git-file-name name version))
11752 (patches
11753 (search-patches "xdmf-3.0.0-hdf5.patch"))
11754 (sha256
11755 (base32 "06k4vibkvgxlzkn06x470aq5q18p7yhql8awrpdz3czys3z8i288"))))
11756 (build-system cmake-build-system)
11757 (arguments
11758 (list #:tests? #f)) ;has no tests
11759 (inputs
11760 (list boost hdf5 libxml2))
11761 (home-page "https://www.xdmf.org/index.html")
11762 (synopsis "XDMF library")
11763 (description
11764 "This package provides the eXtensible Data Model and Format (XDMF) C++
11765library.")
11766 (license license:bsd-4)))