2015-06-12 14:56:04 +02:00
|
|
|
{stdenv, fetchurl, gfortran, openblas}:
|
2011-03-17 15:45:36 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-17 08:02:11 +01:00
|
|
|
name = "JAGS-4.3.0";
|
2011-03-17 15:45:36 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/mcmc-jags/${name}.tar.gz";
|
2018-03-17 08:02:11 +01:00
|
|
|
sha256 = "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica";
|
2011-03-17 15:45:36 +01:00
|
|
|
};
|
2015-06-12 14:56:04 +02:00
|
|
|
buildInputs = [gfortran openblas];
|
|
|
|
configureFlags = [ "--with-blas=-lopenblas" "--with-lapack=-lopenblas" ];
|
2011-03-17 15:45:36 +01:00
|
|
|
|
2018-09-02 00:40:02 +02:00
|
|
|
meta = with stdenv.lib; {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Just Another Gibbs Sampler";
|
2018-09-02 00:40:02 +02:00
|
|
|
license = licenses.gpl2;
|
|
|
|
homepage = http://mcmc-jags.sourceforge.net;
|
|
|
|
maintainers = [ maintainers.andres ];
|
|
|
|
platforms = platforms.unix;
|
2011-03-17 15:45:36 +01:00
|
|
|
};
|
|
|
|
}
|