diff mbox series

[bug#67919,40/55] gnu: Add rust-alga-0.7.

Message ID 9803b4ef2ed3d6109d63fd2c266231746a5e231d.1703044084.git.jaeme@runbox.com
State New
Headers show
Series gnu: eza: Update to 0.17.0. | expand

Commit Message

Jaeme Sifat Dec. 20, 2023, 3:55 a.m. UTC
* gnu/packages/crates-io.scm (rust-alga-0.7): New variable.

Change-Id: I226c659255f74c9d61666a242736d70eb0ff5445
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1b69707a66..4efa202206 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3000,6 +3000,31 @@  (define-public rust-alga-0.9
 code that is generic with regard to the algebraic entity types.")
     (license license:asl2.0)))
 
+(define-public rust-alga-0.7
+  (package
+    (inherit rust-alga-0.9)
+    (name "rust-alga")
+    (version "0.7.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "alga" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0y2p2n5i61a7qf7l49xy8vj0qcaj3lkjz33vfin9iwjrrbp01fr4"))))
+    (arguments
+     `(#:cargo-test-flags
+       '("--release" "--lib" "--bins" "--tests")
+       #:cargo-inputs
+       (("rust-approx" ,rust-approx-0.3)
+        ("rust-decimal" ,rust-decimal-2)
+        ("rust-libm" ,rust-libm-0.1)
+        ("rust-num-complex" ,rust-num-complex-0.2)
+        ("rust-num-traits" ,rust-num-traits-0.2))
+       #:cargo-development-inputs
+       (("rust-alga-derive" ,rust-alga-derive-0.7)
+        ("rust-quickcheck" ,rust-quickcheck-0.7))))))
+
 (define-public rust-alga-derive-0.9
   (package
     (name "rust-alga-derive")