diff options
author | Christopher Christofi <77968333+ChristopherChristofi@users.noreply.github.com> | 2024-01-05 22:50:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-05 14:50:09 -0800 |
commit | d51d3dd1fbf15ef140a00a2036a952473d57f0df (patch) | |
tree | fff1215a28cbc7388430260d9708dec6a6fc686d /var | |
parent | 861979a24f554130e569db26d32d580f0fa177a0 (diff) | |
download | spack-d51d3dd1fbf15ef140a00a2036a952473d57f0df.tar.gz spack-d51d3dd1fbf15ef140a00a2036a952473d57f0df.tar.bz2 spack-d51d3dd1fbf15ef140a00a2036a952473d57f0df.tar.xz spack-d51d3dd1fbf15ef140a00a2036a952473d57f0df.zip |
libdicom: add new package (#41937)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/libdicom/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libdicom/package.py b/var/spack/repos/builtin/packages/libdicom/package.py new file mode 100644 index 0000000000..4ee90bfebf --- /dev/null +++ b/var/spack/repos/builtin/packages/libdicom/package.py @@ -0,0 +1,27 @@ +# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class Libdicom(MesonPackage): + """libdicom is a C library and a set of command-line tools for reading DICOM WSI files.""" + + homepage = "https://github.com/ImagingDataCommons/libdicom" + url = "https://github.com/ImagingDataCommons/libdicom/archive/refs/tags/v1.0.5.tar.gz" + + license("MIT") + + version("1.0.5", sha256="ebf5f7c0d1a0f802c1801f2f762537f014f2a431be3e063142f6ed3c96878abb") + + depends_on("meson@0.50:", type="build") + depends_on("ninja", type="build") + depends_on("pkgconfig", type="build") + depends_on("cmake", type="build") + depends_on("uthash") + depends_on("check@0.9.6:", type=("build", "test")) + + def meson_args(self): + return ["-Dwrap_mode=nofallback"] |