summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 12:07:44 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:23 +0200
commit2f452f5e2d04b24f0dd054f9a8f48249b6cebb04 (patch)
tree692f4b17cc63d6f8071311fc528b6b8e24551511
parent6280eb3cfedcd463e5818bed471c7a755ad38e40 (diff)
gnu: Add rust-gpu-alloc-0.6.
* gnu/packages/crates-graphics.scm (rust-gpu-alloc-0.6): New variable. Change-Id: If05c272e742dea9c21648939b27e9e88b7b55735
-rw-r--r--gnu/packages/crates-graphics.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 7d2f67275a..c5600f3039 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1778,6 +1778,29 @@ EUI-64, also known as MAC-48 media access control addresses.")
#:cargo-inputs
(("rust-gl-generator" ,rust-gl-generator-0.14))))))
+(define-public rust-gpu-alloc-0.6
+ (package
+ (name "rust-gpu-alloc")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gpu-alloc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0wd1wq7qs8ja0cp37ajm9p1r526sp6w0kvjp3xx24jsrjfx2vkgv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-gpu-alloc-types" ,rust-gpu-alloc-types-0.3)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tracing" ,rust-tracing-0.1))))
+ (home-page "https://github.com/zakarumych/gpu-alloc")
+ (synopsis "Implementation agnostic memory allocator for Vulkan like APIs")
+ (description
+ "Implementation agnostic memory allocator for Vulkan like APIs.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-gpu-alloc-types-0.3
(package
(name "rust-gpu-alloc-types")