summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-04 11:26:56 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:14 +0200
commitf287a4ad30b6a6be917799bf49f6f3b2fd0110f8 (patch)
tree1ec974efe0f274bad2d0d2215e4614c7ccc50332 /gnu/packages
parent818a623d2d18d166cc54ad085377d2d48e2faf27 (diff)
downloadguix-f287a4ad30b6a6be917799bf49f6f3b2fd0110f8.tar.gz
gnu: Add rust-ash-window-0.12.
* gnu/packages/crates-graphics.scm (rust-ash-window-0.12): New variable.

Change-Id: I03fa4b3b353df757cc759379a97a145861b5dd7e
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-graphics.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index b120695fc5..4e25d0bd87 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -40,6 +40,7 @@
   #:use-module (gnu packages compression)
   #:use-module (gnu packages crates-io)
   #:use-module (gnu packages crates-windows)
+  #:use-module (gnu packages fontutils)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gl)
   #:use-module (gnu packages llvm)
@@ -338,6 +339,31 @@ Mac, and Unix.")
     (description "Vulkan bindings for Rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-ash-window-0.12
+  (package
+    (name "rust-ash-window")
+    (version "0.12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ash-window" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1armbqzr0x905yypvh9ywgjj91kn93y5mxd6gkwaiwr9gid2h4mr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-ash" ,rust-ash-0.37)
+                       ("rust-raw-window-handle" ,rust-raw-window-handle-0.5)
+                       ("rust-raw-window-metal" ,rust-raw-window-metal-0.3))
+       #:cargo-development-inputs (("rust-ash" ,rust-ash-0.37)
+                                   ("rust-winit" ,rust-winit-0.27))))
+    (native-inputs (list pkg-config vulkan-loader))
+    (inputs (list expat fontconfig freetype))
+    (home-page "https://github.com/MaikKlein/ash")
+    (synopsis "Interop library between ash and raw-window-handle")
+    (description "Interop library between ash and raw-window-handle.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-avif-parse-1
   (package
     (name "rust-avif-parse")