2015-06-12 14:56:04 +02:00
|
|
|
{stdenv, fetchurl, gfortran, openblas}:
|
2011-03-17 15:45:36 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-12-18 16:11:14 +01:00
|
|
|
name = "JAGS-3.4.0";
|
2011-03-17 15:45:36 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/mcmc-jags/${name}.tar.gz";
|
2013-12-18 16:11:14 +01:00
|
|
|
sha256 = "0ayqsz9kkmbss7mxlwr34ch2z1vsb65lryjzqpprab1ccyiaksib";
|
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
|
|
|
|
|
|
|
meta = {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Just Another Gibbs Sampler";
|
2011-03-17 15:45:36 +01:00
|
|
|
license = "GPL2";
|
|
|
|
homepage = http://www-ice.iarc.fr/~martyn/software/jags/;
|
|
|
|
maintainers = [stdenv.lib.maintainers.andres];
|
|
|
|
};
|
|
|
|
}
|