summary refs log tree commit diff
path: root/gnu/packages/engineering.scm
diff options
context:
space:
mode:
authorJonathan Brielmaier <jonathan.brielmaier@web.de>2019-02-27 18:01:50 +0100
committerLeo Famulari <leo@famulari.name>2019-03-14 20:49:02 -0400
commite719562d590eb525b02d00b4e15064d0667f692c (patch)
treec001fab8d99426952760004d38a41275f6fb4f41 /gnu/packages/engineering.scm
parenta7de5a5006db682e7e418e9148e1ac31e7ff997b (diff)
downloadguix-e719562d590eb525b02d00b4e15064d0667f692c.tar.gz
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 <leo@famulari.name>
Diffstat (limited to 'gnu/packages/engineering.scm')
-rw-r--r--gnu/packages/engineering.scm11
1 files changed, 6 insertions, 5 deletions
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 @@ for scientific simulations.")
 (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)