nixpkgs/pkgs/development/libraries/blaze/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
712 B
Nix
Raw Normal View History

2022-12-20 08:44:14 +00:00
{ lib
, stdenv
, fetchFromBitbucket
, cmake
, blas
, lapack-reference
}:
stdenv.mkDerivation (finalAttrs: {
pname = "blaze";
2023-03-05 19:42:36 +00:00
version = "3.8.2";
2022-12-20 08:44:14 +00:00
src = fetchFromBitbucket {
owner = "blaze-lib";
repo = finalAttrs.pname;
rev = "v${finalAttrs.version}";
2023-03-05 19:42:36 +00:00
hash = "sha256-Jl9ZWFqBvLgQwCoMNX3g7z02yc7oYx+d6mbyLBzBJOs=";
2022-12-20 08:44:14 +00:00
};
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;
};
})