gnu: Add rust-matrixmultiply-0.1.
authorEfraim Flashner <efraim@flashner.co.il>
Tue, 21 Jan 2020 15:26:30 +0000 (17:26 +0200)
committerEfraim Flashner <efraim@flashner.co.il>
Tue, 21 Jan 2020 15:26:30 +0000 (17:26 +0200)
* gnu/packages/crates-io.scm (rust-matrixmultiply-0.1): New variable.

gnu/packages/crates-io.scm

index 831c495..0be0136 100644 (file)
@@ -6014,6 +6014,33 @@ whether an expression matches a pattern.")
     (properties '((hidden? . #t)))
     (license license:expat)))
 
+(define-public rust-matrixmultiply-0.1
+  (package
+    (name "rust-matrixmultiply")
+    (version "0.1.15")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "matrixmultiply" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "00p0fpjhm45qdzi37mgv7ggsy8b9gqvq4999yrbgyn1dxkf6gbfw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-rawpointer" ,rust-rawpointer-0.1))
+       #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1))))
+    (home-page "https://github.com/bluss/matrixmultiply/")
+    (synopsis "General matrix multiplication for f32 and f64 matrices")
+    (description "General matrix multiplication for f32 and f64 matrices.
+Operates on matrices with general layout (they can use arbitrary row and column
+stride).  Detects and uses AVX or SSE2 on x86 platforms transparently for higher
+performance.  Uses a microkernel strategy, so that the implementation is easy to
+parallelize and optimize.")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public rust-md5-0.6
   (package
     (name "rust-md5")