at 24.05-pre 35 lines 712 B view raw
1{ lib 2, stdenv 3, fetchFromBitbucket 4, cmake 5, blas 6, lapack-reference 7}: 8 9stdenv.mkDerivation (finalAttrs: { 10 pname = "blaze"; 11 version = "3.8.2"; 12 13 src = fetchFromBitbucket { 14 owner = "blaze-lib"; 15 repo = finalAttrs.pname; 16 rev = "v${finalAttrs.version}"; 17 hash = "sha256-Jl9ZWFqBvLgQwCoMNX3g7z02yc7oYx+d6mbyLBzBJOs="; 18 }; 19 20 strictDeps = true; 21 nativeBuildInputs = [ cmake ]; 22 23 buildInputs = [ 24 blas 25 lapack-reference 26 ]; 27 28 meta = with lib; { 29 description = "high performance C++ math library"; 30 homepage = "https://bitbucket.org/blaze-lib/blaze"; 31 license = with licenses; [ bsd3 ]; 32 maintainers = with maintainers; [ Madouura ]; 33 platforms = platforms.linux; 34 }; 35})