python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / armadillo / default.nix
blob95e89f660cca81e9e7a5132684e1ba2f21f20715
1 { lib, stdenv, fetchurl, cmake, blas, lapack, superlu, hdf5 }:
3 stdenv.mkDerivation rec {
4   pname = "armadillo";
5   version = "11.4.2";
7   src = fetchurl {
8     url = "mirror://sourceforge/arma/armadillo-${version}.tar.xz";
9     sha256 = "sha256-5oYBNPGsllbGoczHTHS3X4xZZqyGEoQfL78Mkc459Ok=";
10   };
12   nativeBuildInputs = [ cmake ];
13   buildInputs = [ blas lapack superlu hdf5 ];
15   cmakeFlags = [
16     "-DLAPACK_LIBRARY=${lapack}/lib/liblapack${stdenv.hostPlatform.extensions.sharedLibrary}"
17     "-DDETECT_HDF5=ON"
18   ];
20   patches = [ ./use-unix-config-on-OS-X.patch ];
22   meta = with lib; {
23     description = "C++ linear algebra library";
24     homepage = "http://arma.sourceforge.net";
25     license = licenses.asl20;
26     platforms = platforms.unix;
27     maintainers = with maintainers; [ juliendehos knedlsepp ];
28   };