2021-01-15 22:18:51 +00:00
|
|
|
{lib, stdenv, fetchurl, gfortran, blas, lapack}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "JAGS-4.3.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/mcmc-jags/${name}.tar.gz";
|
|
|
|
sha256 = "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica";
|
|
|
|
};
|
|
|
|
buildInputs = [gfortran blas lapack];
|
|
|
|
configureFlags = [ "--with-blas=-lblas" "--with-lapack=-llapack" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Just Another Gibbs Sampler";
|
|
|
|
license = licenses.gpl2;
|
|
|
|
homepage = "http://mcmc-jags.sourceforge.net";
|
|
|
|
maintainers = [ maintainers.andres ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
}
|