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
(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)