2015-06-12 12:56:04 +00:00
|
|
|
{stdenv, fetchurl, gfortran, openblas}:
|
2011-03-17 14:45:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-07-18 11:11:18 +00:00
|
|
|
name = "JAGS-4.1.0";
|
2011-03-17 14:45:36 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/mcmc-jags/${name}.tar.gz";
|
2016-07-18 11:11:18 +00:00
|
|
|
sha256 = "08pmrnbwibc0brgn5cx860jcl0s2xaw4amw7g45649r1bcdz7v25";
|
2011-03-17 14:45:36 +00:00
|
|
|
};
|
2015-06-12 12:56:04 +00:00
|
|
|
buildInputs = [gfortran openblas];
|
|
|
|
configureFlags = [ "--with-blas=-lopenblas" "--with-lapack=-lopenblas" ];
|
2011-03-17 14:45:36 +00:00
|
|
|
|
|
|
|
meta = {
|
2014-08-24 14:21:08 +00: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 17:50:55 +00:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2011-03-17 14:45:36 +00:00
|
|
|
};
|
|
|
|
}
|