mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
1c8aba8334
This makes packages use lapack and blas, which can wrap different BLAS/LAPACK implementations. treewide: cleanup from blas/lapack changes A few issues in the original treewide: - can’t assume blas64 is a bool - unused commented code
20 lines
601 B
Nix
20 lines
601 B
Nix
{stdenv, fetchurl, gfortran, blas, lapack}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "JAGS-4.3.0";
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/mcmc-jags/${name}.tar.gz";
|
|
sha256 = "1z3icccg2ic56vmhyrpinlsvpq7kcaflk1731rgpvz9bk1bxvica";
|
|
};
|
|
buildInputs = [gfortran blas lapack];
|
|
configureFlags = [ "--with-blas=-lblas" "--with-lapack=-llapack" ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Just Another Gibbs Sampler";
|
|
license = licenses.gpl2;
|
|
homepage = "http://mcmc-jags.sourceforge.net";
|
|
maintainers = [ maintainers.andres ];
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|