mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 16:11:58 +00:00
19 lines
564 B
Nix
19 lines
564 B
Nix
{stdenv, fetchurl, gfortran, openblas}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "JAGS-3.4.0";
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/mcmc-jags/${name}.tar.gz";
|
|
sha256 = "0ayqsz9kkmbss7mxlwr34ch2z1vsb65lryjzqpprab1ccyiaksib";
|
|
};
|
|
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];
|
|
};
|
|
}
|