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