diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-01-04 11:01:41 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:11 +0200 |
commit | 91b71f2b86be28040eb0d8b77a21fc9dc2ed1fb8 (patch) | |
tree | 5cd729652f77865871c40dd605c044c969e20fea /gnu/packages | |
parent | c00a9852cce518a326dc473044a5a486856acc42 (diff) | |
download | guix-91b71f2b86be28040eb0d8b77a21fc9dc2ed1fb8.tar.gz guix-91b71f2b86be28040eb0d8b77a21fc9dc2ed1fb8.zip |
gnu: Add rust-d3d12-0.7.
* gnu/packages/crates-graphics.scm (rust-d3d12-0.7): New variable.
Change-Id: Ib2e169cd542ee771e5d4d3a5b7c26574b124e4be
Diffstat (limited to 'gnu/packages')
-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 1243a5ae1a..b19fce6a40 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -759,6 +759,28 @@ types.") and iOS.") (license license:expat))) +(define-public rust-d3d12-0.7 + (package + (name "rust-d3d12") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "d3d12" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "084z4nz0ddmsjn6qbrgxygr55pvpi3yjrrkvmzyxs79b56ml8vp1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ; unresolved imports `winapi::shared`, `winapi::um` + #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-libloading" ,rust-libloading-0.8) + ("rust-winapi" ,rust-winapi-0.3)))) + (home-page "https://github.com/gfx-rs/d3d12-rs") + (synopsis "Low level D3D12 API wrapper") + (description "Low level D3D12 API wrapper.") + (license (list license:expat license:asl2.0)))) + (define-public rust-dav1d-0.6 (package (name "rust-dav1d") |