acr-cli: init at 0.14 (#359508)
[NixPkgs.git] / pkgs / by-name / gl / globalarrays / package.nix
blobee7876e548d404b0cc533fbe30093187e4613a54
1 { lib, stdenv, fetchFromGitHub, autoreconfHook
2 , blas, gfortran, openssh, mpi
3 } :
5 stdenv.mkDerivation rec {
6   pname = "globalarrays";
7   version = "5.8.2";
9   src = fetchFromGitHub {
10     owner = "GlobalArrays";
11     repo = "ga";
12     rev = "v${version}";
13     sha256 = "sha256-2ffQIg9topqKX7ygnWaa/UunL9d0Lj9qr9xucsjLuoY=";
14   };
16   nativeBuildInputs = [ autoreconfHook gfortran ];
17   buildInputs = [ mpi blas openssh ];
19   preConfigure = ''
20     configureFlagsArray+=( "--enable-i8" \
21                            "--with-mpi" \
22                            "--with-mpi3" \
23                            "--enable-eispack" \
24                            "--enable-underscoring" \
25                            "--with-blas8=${blas}/lib -lblas" )
26   '';
28   enableParallelBuilding = true;
30   meta = with lib; {
31     description = "Global Arrays Programming Models";
32     homepage = "http://hpc.pnl.gov/globalarrays/";
33     maintainers = [ maintainers.markuskowa ];
34     license = licenses.bsd3;
35     platforms = platforms.linux;
36   };