diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 12:07:43 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:23 +0200 |
commit | bf5a538eea4de75cb81ed2ebae6df2153ea0446d (patch) | |
tree | b37dd3751df88de51d0b740332e4fe4927416388 /gnu | |
parent | c10a5c90207026c4a2e8eb5ab11c797f49fc6868 (diff) | |
download | guix-bf5a538eea4de75cb81ed2ebae6df2153ea0446d.tar.gz |
gnu: Add rust-raw-window-metal-0.3.
* gnu/packages/crates-graphics.scm (rust-raw-window-metal-0.3): New variable. Change-Id: Iae844a4cfa81c32a0abe8d2985d934b13976cef2
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index a53f6c9cc7..85cc2312a4 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -2861,6 +2861,28 @@ in AVIF format (powers the @code{cavif} tool).") (arguments `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)))))) +(define-public rust-raw-window-metal-0.3 + (package + (name "rust-raw-window-metal") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "raw-window-metal" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0xlfy69chky5gxk67p9h7zmf4n4y15fk9abani6c4m4d4n9s8kmc")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-cocoa" ,rust-cocoa-0.25) + ("rust-core-graphics" ,rust-core-graphics-0.23) + ("rust-objc" ,rust-objc-0.2) + ("rust-raw-window-handle" ,rust-raw-window-handle-0.5)))) + (home-page "https://github.com/norse-rs/raw-window-metal") + (synopsis "Interop library between Metal and raw-window-handle") + (description "Interop library between Metal and raw-window-handle.") + (license (list license:expat license:asl2.0)))) + (define-public rust-resize-0.4 (package (name "rust-resize") |