From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dO7WP-000520-UG for guix-patches@gnu.org; Thu, 22 Jun 2017 15:12:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dO7WO-0003Cx-7N for guix-patches@gnu.org; Thu, 22 Jun 2017 15:12:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59009) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dO7WO-0003Cq-41 for guix-patches@gnu.org; Thu, 22 Jun 2017 15:12:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dO7WN-00043H-V4 for guix-patches@gnu.org; Thu, 22 Jun 2017 15:12:03 -0400 Subject: [bug#27344] [PATCH v2 04/12] gnu: Add meep. Resent-Message-ID: From: Theodoros Foradis Date: Thu, 22 Jun 2017 22:09:57 +0300 Message-Id: <20170622191005.25422-4-theodoros.for@openmailbox.org> In-Reply-To: <20170622191005.25422-1-theodoros.for@openmailbox.org> References: <20170622191005.25422-1-theodoros.for@openmailbox.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27344@debbugs.gnu.org * gnu/packages/engineering.scm (meep): New variable. --- gnu/packages/engineering.scm | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 8dd6fba13..d77871490 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -947,3 +947,43 @@ structures") of Maxwell's equations in periodic dielectric structures for arbitrary wavevectors, using fully-vectorial and three-dimensional methods.") (license license:gpl2+))) + +(define-public meep + (package + (name "meep") + (version "1.3") + (source (origin + (method url-fetch) + (uri + (string-append + "http://ab-initio.mit.edu/meep/meep-" + version ".tar.gz")) + (sha256 + (base32 + "0f6lbw2hrksg7xscwdqs78jc9nmzx9fs8j0hz1y4i8qknkqiyk2n")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list (string-append "--with-libctl=" + (assoc-ref %build-inputs "libctl") + "/share/libctl")))) + (native-inputs + `(("fortran" ,gfortran) + ("pkg-config" ,pkg-config) + ("swig" ,swig))) + (inputs + `(("fftw" ,fftw) + ("gsl" ,gsl) + ("guile" ,guile-2.0) ; doesn't build with guile-2.2 + ("harminv" ,harminv) + ("hdf5" ,hdf5) + ("lapack" ,lapack) + ("libctl" ,guile-libctl) + ("mpb" ,mpb) + ("zlib" ,zlib))) + (home-page "http://ab-initio.mit.edu/wiki/index.php/Meep") + (synopsis "Finite-difference time-domain (FDTD) simulation software") + (description + "Meep is a finite-difference time-domain (FDTD) simulation software package +developed at MIT to model electromagnetic systems.") + (license license:gpl2+))) -- 2.13.1