[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/10: gnu: Add mia.
From: |
Ricardo Wurmus |
Subject: |
01/10: gnu: Add mia. |
Date: |
Mon, 15 May 2017 16:00:58 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit cdb2a21160a195f63c33955d8b9b9034e11dae46
Author: John Darrington <address@hidden>
Date: Wed Mar 15 21:05:23 2017 +0100
gnu: Add mia.
* gnu/packages/image-processing.scm (mia): New variable.
Co-authored-by: Ricardo Wurmus <address@hidden>
---
gnu/packages/image-processing.scm | 67 ++++++++++++++++++++++++++++++++++++++-
1 file changed, 66 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/image-processing.scm
b/gnu/packages/image-processing.scm
index 21ee52e..1753b92 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -22,12 +22,23 @@
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix download)
+ #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (gnu packages)
+ #:use-module (gnu packages algebra)
+ #:use-module (gnu packages boost)
#:use-module (gnu packages compression)
#:use-module (gnu packages documentation)
+ #:use-module (gnu packages gnome)
+ #:use-module (gnu packages graphics)
+ #:use-module (gnu packages graphviz)
#:use-module (gnu packages image)
- #:use-module (gnu packages perl))
+ #:use-module (gnu packages maths)
+ #:use-module (gnu packages perl)
+ #:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages xml)
+ #:use-module (gnu packages vtk))
;; We use the latest snapshot of this package because the latest release is
;; from 2011 and has known vulnerabilities that cannot easily be fixed by
@@ -63,3 +74,57 @@ demonstrative image storage and worklist servers.")
"file://COPYRIGHT"
"A union of the Apache 2.0 licence and various non-copyleft
licences similar to the Modified BSD licence."))))
+
+(define-public mia
+ (package
+ (name "mia")
+ (version "2.4.4")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/mia/mia/"
+ (version-major+minor version)
+ "/mia-" version ".tar.xz"))
+ (sha256
+ (base32
+ "124gvf8nkls59mlnx8ynq00n9zrah7a54gsywafx7qmfr0y95ra7"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:configure-flags
+ (list "-DMIA_CREATE_NIPYPE_INTERFACES=0"
+ (string-append "-DCMAKE_INSTALL_LIBDIR="
+ (assoc-ref %outputs "out") "/lib")
+ "-DCMAKE_CXX_FLAGS=-fpermissive")))
+ (inputs
+ `(("boost" ,boost)
+ ("dcmtk" ,dcmtk)
+ ("doxygen" ,doxygen)
+ ("eigen" ,eigen)
+ ("fftw" ,fftw)
+ ("fftwf" ,fftwf)
+ ("gsl" ,gsl)
+ ("gts" ,gts)
+ ("hdf5" ,hdf5)
+ ("itpp" ,itpp)
+ ("libjpeg" ,libjpeg)
+ ("libpng" ,libpng)
+ ("libtiff" ,libtiff)
+ ("libxml" ,libxml2)
+ ("libxml++" ,libxml++)
+ ("maxflow" ,maxflow)
+ ("niftilib" ,niftilib)
+ ("nlopt" ,nlopt)
+ ("openexr" ,openexr)
+ ("python-lxml" ,python2-lxml)
+ ("vtk" ,vtk)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)
+ ("python" ,python-2)))
+ (home-page "http://mia.sourceforge.net")
+ (synopsis "Toolkit for gray scale medical image analysis")
+ (description "MIA provides a combination of command line tools, plug-ins,
+and libraries that make it possible run image processing tasks interactively
+in a command shell and to prototype using the shell's scripting language. It
+is built around a plug-in structure that makes it easy to add functionality
+without compromising the original code base and it makes use of a wide variety
+of external libraries that provide additional functionality.")
+ (license license:gpl3+)))
- branch master updated (7fe4e55 -> a624469), Ricardo Wurmus, 2017/05/15
- 01/10: gnu: Add mia.,
Ricardo Wurmus <=
- 04/10: gnu: Add java-httpcomponents-httpcore-nio., Ricardo Wurmus, 2017/05/15
- 07/10: gnu: Add java-httpcomponents-httpmime., Ricardo Wurmus, 2017/05/15
- 03/10: gnu: Add java-httpcomponents-httpcore., Ricardo Wurmus, 2017/05/15
- 10/10: gnu: Add java-commons-compress., Ricardo Wurmus, 2017/05/15
- 09/10: gnu: Add java-jsch., Ricardo Wurmus, 2017/05/15
- 05/10: gnu: Add java-httpcomponents-httpcore-ab., Ricardo Wurmus, 2017/05/15
- 06/10: gnu: Add java-httpcomponents-httpclient., Ricardo Wurmus, 2017/05/15
- 08/10: gnu: Add java-commons-net., Ricardo Wurmus, 2017/05/15
- 02/10: gnu: Add java-mockito-1., Ricardo Wurmus, 2017/05/15