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>
master
Jonathan Brielmaier 2019-02-27 18:01:50 +01:00 committed by Leo Famulari
parent a7de5a5006
commit e719562d59
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 6 additions and 5 deletions

View File

@ -1055,22 +1055,23 @@ for scientific simulations.")
(define-public mpb (define-public mpb
(package (package
(name "mpb") (name "mpb")
(version "1.5") (version "1.8.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
(string-append (string-append
"http://ab-initio.mit.edu/mpb/mpb-" "https://github.com/NanoComp/mpb/releases/download/v"
version ".tar.gz")) version "/mpb-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1mqb2d8jq957nksayjygq58iy8i42vjryzg9iy5fpfay31wzxsix")))) "1jgrb7dd6qs6j6y1gnxmdgrh79l2bvqa6nk60a4pw1annsks4brd"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:configure-flags `(#:configure-flags
(list (string-append "--with-libctl=" (list (string-append "--with-libctl="
(assoc-ref %build-inputs "libctl") (assoc-ref %build-inputs "libctl")
"/share/libctl")))) "/share/libctl")
"--enable-shared")))
(native-inputs (native-inputs
`(("fortran" ,gfortran) `(("fortran" ,gfortran)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)