2015-06-12 13:56:04 +01:00
|
|
|
{stdenv, fetchurl, gfortran, openblas}:
|
2011-03-17 14:45:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-03-17 07:02:11 +00:00
|
|
|
name = "JAGS-4.3.0";
|
2011-03-17 14:45:36 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/mcmc-jags/${name}.tar.gz";
|
2018-03-17 07:02:11 +00:00
|
|
|
sha256 = "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica";
|
2011-03-17 14:45:36 +00:00
|
|
|
};
|
2015-06-12 13:56:04 +01:00
|
|
|
buildInputs = [gfortran openblas];
|
|
|
|
configureFlags = [ "--with-blas=-lopenblas" "--with-lapack=-lopenblas" ];
|
2011-03-17 14:45:36 +00:00
|
|
|
|
|
|
|
meta = {
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Just Another Gibbs Sampler";
|
2011-03-17 14:45:36 +00:00
|
|
|
license = "GPL2";
|
|
|
|
homepage = http://www-ice.iarc.fr/~martyn/software/jags/;
|
|
|
|
maintainers = [stdenv.lib.maintainers.andres];
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2011-03-17 14:45:36 +00:00
|
|
|
};
|
|
|
|
}
|