From e719562d590eb525b02d00b4e15064d0667f692c Mon Sep 17 00:00:00 2001 From: Jonathan Brielmaier Date: Wed, 27 Feb 2019 18:01:50 +0100 Subject: gnu: mpb: Update to 1.8.0. * gnu/packages/engineering.scm (mpb): Update to 1.8.0. [source]: Fetch source from GitHub, as it's only there. [arguments]: Build shared library, as required by meep. Signed-off-by: Leo Famulari --- gnu/packages/engineering.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 76e4b4dd88..8d58e459b2 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm @@ -1055,22 +1055,23 @@ (define-public guile-libctl (define-public mpb (package (name "mpb") - (version "1.5") + (version "1.8.0") (source (origin (method url-fetch) (uri (string-append - "http://ab-initio.mit.edu/mpb/mpb-" - version ".tar.gz")) + "https://github.com/NanoComp/mpb/releases/download/v" + version "/mpb-" version ".tar.gz")) (sha256 (base32 - "1mqb2d8jq957nksayjygq58iy8i42vjryzg9iy5fpfay31wzxsix")))) + "1jgrb7dd6qs6j6y1gnxmdgrh79l2bvqa6nk60a4pw1annsks4brd")))) (build-system gnu-build-system) (arguments `(#:configure-flags (list (string-append "--with-libctl=" (assoc-ref %build-inputs "libctl") - "/share/libctl")))) + "/share/libctl") + "--enable-shared"))) (native-inputs `(("fortran" ,gfortran) ("pkg-config" ,pkg-config) -- cgit v1.2.3