summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-03-19 11:26:37 +0200
committerEfraim Flashner <efraim@flashner.co.il>2020-03-19 22:33:27 +0200
commiteef9de5fed7046e8e2d3e3019615e2af220ee79c (patch)
tree0d10965b9fe8e25cb37be245b2e4a4e16f783f74
parentc450d81a16786e658b1e0bb3651673206ef96e91 (diff)
downloadguix-eef9de5fed7046e8e2d3e3019615e2af220ee79c.tar.gz
gnu: Add rust-matrixmultiply-0.2.
* gnu/packages/crates-io.scm (rust-matrixmultiply-0.2): New variable.
(rust-matrixmultiply-0.1): Inherit from rust-matrixmultiply-0.2.
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 26 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 521974c8cc..d789d91dea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9944,10 +9944,10 @@ platform-independently.")
 whether an expression matches a pattern.")
     (license license:expat)))
 
-(define-public rust-matrixmultiply-0.1
+(define-public rust-matrixmultiply-0.2
   (package
     (name "rust-matrixmultiply")
-    (version "0.1.15")
+    (version "0.2.3")
     (source
       (origin
         (method url-fetch)
@@ -9955,12 +9955,14 @@ whether an expression matches a pattern.")
         (file-name (string-append name "-" version ".crate"))
         (sha256
          (base32
-          "00p0fpjhm45qdzi37mgv7ggsy8b9gqvq4999yrbgyn1dxkf6gbfw"))))
+          "13s7nfd3dfcsrixld2lk8c563ih5xzczl2w36hprfc016rkfrxyl"))))
     (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))))
+     `(#:cargo-inputs
+       (("rust-rawpointer" ,rust-rawpointer-0.2))
+       #:cargo-development-inputs
+       (("rust-bencher" ,rust-bencher-0.1)
+        ("rust-itertools" ,rust-itertools-0.7))))
     (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.
@@ -9971,6 +9973,24 @@ parallelize and optimize.")
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-matrixmultiply-0.1
+  (package
+    (inherit rust-matrixmultiply-0.2)
+    (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"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-rawpointer" ,rust-rawpointer-0.1))
+       #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1))))))
+
 (define-public rust-maybe-uninit-2.0
   (package
     (name "rust-maybe-uninit")