diff options
author | Manuela Kuhn <36827019+manuelakuhn@users.noreply.github.com> | 2022-11-28 19:05:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-28 11:05:49 -0700 |
commit | 093a37750c676a14ea35b1c9f4be6d254072e5cb (patch) | |
tree | d510f0444ab3ab934966e8bf3f299895706fe2d3 /var | |
parent | 173cc7e973785ec38e4c186b4a6519bc93f8c447 (diff) | |
download | spack-093a37750c676a14ea35b1c9f4be6d254072e5cb.tar.gz spack-093a37750c676a14ea35b1c9f4be6d254072e5cb.tar.bz2 spack-093a37750c676a14ea35b1c9f4be6d254072e5cb.tar.xz spack-093a37750c676a14ea35b1c9f4be6d254072e5cb.zip |
py-bidskit: new package and dcm2niix: add 1.0.20220720 (#34162)
* py-bidskit: new package and dcm2niix: add 1.0.20220720
* Remove list_url
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/dcm2niix/package.py | 5 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/py-bidskit/package.py | 27 |
2 files changed, 31 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/dcm2niix/package.py b/var/spack/repos/builtin/packages/dcm2niix/package.py index 81d2a00524..bc24b81b2a 100644 --- a/var/spack/repos/builtin/packages/dcm2niix/package.py +++ b/var/spack/repos/builtin/packages/dcm2niix/package.py @@ -11,8 +11,11 @@ class Dcm2niix(CMakePackage): """DICOM to NIfTI converter""" homepage = "https://github.com/rordenlab/dcm2niix" - url = "https://github.com/rordenlab/dcm2niix/archive/refs/tags/v1.0.20210317.tar.gz" + url = "https://github.com/rordenlab/dcm2niix/archive/refs/tags/v1.0.20220720.tar.gz" version( + "1.0.20220720", sha256="a095545d6d70c5ce2efd90dcd58aebe536f135410c12165a9f231532ddab8991" + ) + version( "1.0.20210317", sha256="42fb22458ebfe44036c3d6145dacc6c1dc577ebbb067bedc190ed06f546ee05a" ) diff --git a/var/spack/repos/builtin/packages/py-bidskit/package.py b/var/spack/repos/builtin/packages/py-bidskit/package.py new file mode 100644 index 0000000000..cfeb7608ff --- /dev/null +++ b/var/spack/repos/builtin/packages/py-bidskit/package.py @@ -0,0 +1,27 @@ +# Copyright 2013-2022 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 PyBidskit(PythonPackage): + """Tools for DICOM to BIDS conversion.""" + + homepage = "https://github.com/jmtyszka/bidskit" + pypi = "bidskit/bidskit-2022.10.13.tar.gz" + + version( + "2022.10.13", sha256="576b92cef187032c73f64e2e6a5b0be0c06771442048a33c55e224b3df0aae3a" + ) + + depends_on("python@3.7:3", type=("build", "run")) + depends_on("py-setuptools", type="build") + + depends_on("py-pydicom@2.2:", type=("build", "run")) + depends_on("py-pybids@0.15:", type=("build", "run")) + depends_on("py-numpy@1.21:", type=("build", "run")) + + # version requirement comes from error message when using bidskit + depends_on("dcm2niix@1.0.20220720:", type=("build", "run")) |