diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2019-08-13 18:55:57 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-08-15 14:09:13 +0200 |
commit | 8f4d457d93797bea5d934d9548da85d438dbd71e (patch) | |
tree | 2d85d9cabe1db1875bdd63d1ff154de4c0fe8212 /gnu/packages/image-processing.scm | |
parent | d7701e1b94158c256f9b0609457cdffadaf39aee (diff) | |
download | guix-8f4d457d93797bea5d934d9548da85d438dbd71e.tar.gz |
gnu: Add insight-toolkit-4.
* gnu/packages/image-processing.scm (insight-toolkit-4): New variable.
Diffstat (limited to 'gnu/packages/image-processing.scm')
-rw-r--r-- | gnu/packages/image-processing.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/image-processing.scm b/gnu/packages/image-processing.scm index 2f1f0ade59..00b80c1ad5 100644 --- a/gnu/packages/image-processing.scm +++ b/gnu/packages/image-processing.scm @@ -671,3 +671,23 @@ task of aligning or developing correspondences between data. For example, in the medical environment, a CT scan may be aligned with a MRI scan in order to combine the information contained in both.") (license license:asl2.0))) + +(define-public insight-toolkit-4 + (package (inherit insight-toolkit) + (version "4.13.2") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/InsightSoftwareConsortium/ITK/" + "releases/download/v" version "/InsightToolkit-" + version ".tar.xz")) + (sha256 + (base32 "19cgfpd63gqrvc3m27m394gy2d7w79g5y6lvznb5qqr49lihbgns")))) + (arguments + `(#:tests? #f ; tests require network access and external data + #:configure-flags + '("-DITKV3_COMPATIBILITY=ON" ; needed for itk-snap + "-DITK_USE_GPU=ON" + "-DITK_USE_SYSTEM_LIBRARIES=ON" + "-DITK_USE_SYSTEM_GOOGLETEST=ON" + "-DITK_USE_SYSTEM_VXL=ON"))))) |