nixpkgs/pkgs/applications/science/math/jags/default.nix

20 lines
598 B
Nix
Raw Normal View History

2015-06-12 13:56:04 +01:00
{stdenv, fetchurl, gfortran, openblas}:
stdenv.mkDerivation rec {
name = "JAGS-4.3.0";
src = fetchurl {
url = "mirror://sourceforge/mcmc-jags/${name}.tar.gz";
sha256 = "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica";
};
2015-06-12 13:56:04 +01:00
buildInputs = [gfortran openblas];
configureFlags = [ "--with-blas=-lopenblas" "--with-lapack=-lopenblas" ];
2018-09-01 23:40:02 +01:00
meta = with stdenv.lib; {
description = "Just Another Gibbs Sampler";
2018-09-01 23:40:02 +01:00
license = licenses.gpl2;
homepage = http://mcmc-jags.sourceforge.net;
maintainers = [ maintainers.andres ];
platforms = platforms.unix;
};
}