3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/science/math/jags/default.nix

19 lines
564 B
Nix
Raw Normal View History

2015-06-12 13:56:04 +01:00
{stdenv, fetchurl, gfortran, openblas}:
stdenv.mkDerivation rec {
2013-12-18 15:11:14 +00:00
name = "JAGS-3.4.0";
src = fetchurl {
url = "mirror://sourceforge/mcmc-jags/${name}.tar.gz";
2013-12-18 15:11:14 +00:00
sha256 = "0ayqsz9kkmbss7mxlwr34ch2z1vsb65lryjzqpprab1ccyiaksib";
};
2015-06-12 13:56:04 +01:00
buildInputs = [gfortran openblas];
configureFlags = [ "--with-blas=-lopenblas" "--with-lapack=-lopenblas" ];
meta = {
description = "Just Another Gibbs Sampler";
license = "GPL2";
homepage = http://www-ice.iarc.fr/~martyn/software/jags/;
maintainers = [stdenv.lib.maintainers.andres];
};
}