about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/blaze/default.nix
blob: ad68b6df4d5951c9703e466764fd67fe1a2429be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib
, stdenv
, fetchFromBitbucket
, cmake
, blas
, lapack-reference
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "blaze";
  version = "3.8.2";

  src = fetchFromBitbucket {
    owner = "blaze-lib";
    repo = finalAttrs.pname;
    rev = "v${finalAttrs.version}";
    hash = "sha256-Jl9ZWFqBvLgQwCoMNX3g7z02yc7oYx+d6mbyLBzBJOs=";
  };

  strictDeps = true;
  nativeBuildInputs = [ cmake ];

  buildInputs = [
    blas
    lapack-reference
  ];

  meta = with lib; {
    description = "high performance C++ math library";
    homepage = "https://bitbucket.org/blaze-lib/blaze";
    license = with licenses; [ bsd3 ];
    maintainers = with maintainers; [ Madouura ];
    platforms = platforms.linux;
  };
})