guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

34/46: gnu: Add rust-matrixmultiply-0.2.


From: guix-commits
Subject: 34/46: gnu: Add rust-matrixmultiply-0.2.
Date: Thu, 19 Mar 2020 16:46:26 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit eef9de5fed7046e8e2d3e3019615e2af220ee79c
Author: Efraim Flashner <address@hidden>
AuthorDate: Thu Mar 19 11:26:37 2020 +0200

    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.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++------
 1 file changed, 26 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 521974c..d789d91 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]