guix-commits
[Top][All Lists]
Advanced

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

10/30: gnu: Add rust-nalgebra-0.27.


From: guix-commits
Subject: 10/30: gnu: Add rust-nalgebra-0.27.
Date: Sat, 27 Aug 2022 09:17:56 -0400 (EDT)

rekado pushed a commit to branch rekados-rust-queue
in repository guix.

commit 1535025e6e5b922e9dd4c21a39dccb3d19f27747
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Aug 25 14:39:09 2022 +0200

    gnu: Add rust-nalgebra-0.27.
    
    * gnu/packages/crates-io.scm (rust-nalgebra-0.27): New variable.
---
 gnu/packages/crates-io.scm | 50 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2c109e43ae..779d6c4596 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36173,6 +36173,56 @@ quick compile time, and minimal dependencies.")
 transformations and statically-sized or dynamically-sized matrices.")
     (license license:bsd-3)))
 
+(define-public rust-nalgebra-0.27
+  (package
+    (inherit rust-nalgebra-0.29)
+    (name "rust-nalgebra")
+    (version "0.27.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "nalgebra" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0811vksy1ls1m41gqkh1i5cy3h3g3b615kwxd8gjwkrg03jgybs6"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(;;TODO: fails to compile with "Please enable the `debug`, `compare`,
+       ;;`rand` and `macros` features".
+       #:tests? #f
+       #:cargo-inputs
+       (("rust-abomonation" ,rust-abomonation-0.7)
+        ("rust-alga" ,rust-alga-0.9)
+        ("rust-approx" ,rust-approx-0.5)
+        ("rust-bytemuck" ,rust-bytemuck-1)
+        ("rust-glam" ,rust-glam-0.15)
+        ("rust-glam" ,rust-glam-0.13)
+        ("rust-glam" ,rust-glam-0.14)
+        ("rust-matrixcompare-core" ,rust-matrixcompare-core-0.1)
+        ("rust-matrixmultiply" ,rust-matrixmultiply-0.3)
+        ("rust-mint" ,rust-mint-0.5)
+        ("rust-nalgebra-macros" ,rust-nalgebra-macros-0.1)
+        ("rust-num-complex" ,rust-num-complex-0.4)
+        ("rust-num-rational" ,rust-num-rational-0.4)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-pest" ,rust-pest-2)
+        ("rust-pest-derive" ,rust-pest-derive-2)
+        ("rust-proptest" ,rust-proptest-1)
+        ("rust-quickcheck" ,rust-quickcheck-1)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rand-distr" ,rust-rand-distr-0.4)
+        ("rust-rkyv" ,rust-rkyv-0.6)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-simba" ,rust-simba-0.5)
+        ("rust-typenum" ,rust-typenum-1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3)
+        ("rust-itertools" ,rust-itertools-0.10)
+        ("rust-matrixcompare" ,rust-matrixcompare-0.3)
+        ("rust-rand-isaac" ,rust-rand-isaac-0.3)
+        ("rust-rand-xorshift" ,rust-rand-xorshift-0.3)
+        ("rust-serde-json" ,rust-serde-json-1))))))
+
 (define-public rust-nalgebra-0.26
   (package
     (inherit rust-nalgebra-0.29)



reply via email to

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