guix-commits
[Top][All Lists]
Advanced

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

22/276: gnu: Add rust-cust-core-0.1.


From: guix-commits
Subject: 22/276: gnu: Add rust-cust-core-0.1.
Date: Wed, 18 Oct 2023 04:48:50 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 9451486df963af28f747daa681b803e76b820d29
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Oct 1 16:19:27 2023 +0300

    gnu: Add rust-cust-core-0.1.
    
    * gnu/packages/crates-io.scm (rust-cust-core-0.1): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ee785065c4..80831204c2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17734,6 +17734,33 @@ ristretto255 and Curve25519.")
 ristretto255 and Curve25519.")
     (license license:bsd-3)))
 
+(define-public rust-cust-core-0.1
+  (package
+    (name "rust-cust-core")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cust-core" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "01jzjwywsngqm8d1vxk3zr9klvidab6iis1myg5r1y5q5ik7k7q3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f      ; use of undeclared crate or module `cust`
+       #:cargo-inputs
+       (("rust-cust-derive" ,rust-cust-derive-0.2)
+        ("rust-glam" ,rust-glam-0.20)
+        ("rust-half" ,rust-half-1)
+        ("rust-mint" ,rust-mint-0.5)
+        ("rust-num-complex" ,rust-num-complex-0.4)
+        ("rust-vek" ,rust-vek-0.15))))
+    (home-page "https://github.com/Rust-GPU/Rust-CUDA";)
+    (synopsis "Core library for cust that can be shared across CPU and GPU")
+    (description "This package provices the core library for cust that can be
+shared across CPU and GPU.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-cust-derive-0.2
   (package
     (name "rust-cust-derive")



reply via email to

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