2021-11-07 14:50:48 +01:00
|
|
|
{ lib, stdenv, fetchurl, gfortran, blas, lapack }:
|
2011-03-17 15:45:36 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2021-11-07 14:50:48 +01:00
|
|
|
pname = "JAGS";
|
|
|
|
version = "4.3.0";
|
|
|
|
|
2011-03-17 15:45:36 +01:00
|
|
|
src = fetchurl {
|
2021-11-07 14:50:48 +01:00
|
|
|
url = "mirror://sourceforge/mcmc-jags/JAGS-${version}.tar.gz";
|
2018-03-17 08:02:11 +01:00
|
|
|
sha256 = "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica";
|
2011-03-17 15:45:36 +01:00
|
|
|
};
|
2021-09-03 13:33:31 +02:00
|
|
|
|
|
|
|
nativeBuildInputs = [ gfortran ];
|
|
|
|
|
|
|
|
buildInputs = [ blas lapack ];
|
|
|
|
|
2020-03-31 16:47:18 +02:00
|
|
|
configureFlags = [ "--with-blas=-lblas" "--with-lapack=-llapack" ];
|
2011-03-17 15:45:36 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Just Another Gibbs Sampler";
|
2021-11-07 14:50:48 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
homepage = "http://mcmc-jags.sourceforge.net";
|
2018-09-02 00:40:02 +02:00
|
|
|
maintainers = [ maintainers.andres ];
|
|
|
|
platforms = platforms.unix;
|
2011-03-17 15:45:36 +01:00
|
|
|
};
|
|
|
|
}
|