about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/blaze
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/blaze')
-rw-r--r--nixpkgs/pkgs/development/libraries/blaze/default.nix35
1 files changed, 35 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/blaze/default.nix b/nixpkgs/pkgs/development/libraries/blaze/default.nix
new file mode 100644
index 000000000000..ad68b6df4d59
--- /dev/null
+++ b/nixpkgs/pkgs/development/libraries/blaze/default.nix
@@ -0,0 +1,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;
+  };
+})