02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
25 lines
650 B
Nix
25 lines
650 B
Nix
{ lib, stdenv, fetchurl, gfortran, blas, lapack }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "JAGS";
|
|
version = "4.3.1";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/mcmc-jags/JAGS-${version}.tar.gz";
|
|
sha256 = "sha256-+SWDVbXp6xO9M8X6cg8MvrrOp9CkpCtxsPsUUB7hQik=";
|
|
};
|
|
|
|
nativeBuildInputs = [ gfortran ];
|
|
|
|
buildInputs = [ blas lapack ];
|
|
|
|
configureFlags = [ "--with-blas=-lblas" "--with-lapack=-llapack" ];
|
|
|
|
meta = with lib; {
|
|
description = "Just Another Gibbs Sampler";
|
|
license = licenses.gpl2;
|
|
homepage = "http://mcmc-jags.sourceforge.net";
|
|
maintainers = [ maintainers.andres ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|