aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-graphics.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-14 10:27:39 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:21 +0200
commit3f1820adff9aca57b06250d0222c8c83a582af5b (patch)
tree6dc24af2116b0997004e09cedf2f2c599026e036 /gnu/packages/crates-graphics.scm
parenta01baf555f4778981852796febf6f9156f973514 (diff)
downloadguix-3f1820adff9aca57b06250d0222c8c83a582af5b.tar.gz
guix-3f1820adff9aca57b06250d0222c8c83a582af5b.zip
gnu: Add rust-drm-0.12.
* gnu/packages/crates-graphics.scm (rust-drm-0.12): New variable. (rust-drm-0.10): Inherit from rust-drm-0.12. Change-Id: I9a12360e4b7cc86a6418b6d87eef6d7fba209cf0
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r--gnu/packages/crates-graphics.scm36
1 files changed, 29 insertions, 7 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 9ecdf5f71b..0a9fd03c71 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1106,33 +1106,55 @@ and iOS.")
(description "Calculate Delta E between two colors in CIE Lab space.")
(license license:expat)))
-(define-public rust-drm-0.10
+(define-public rust-drm-0.12
(package
(name "rust-drm")
- (version "0.10.0")
+ (version "0.12.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "drm" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "11xyv3l03a3zxsrfr02mwnn5d6h4100919zb2v9fpizv7xq1pywp"))))
+ (base32 "1ldmrglplhrcfmpyjy2ga4hg89c89f0kzmky3b0j85b0pm5qr24q"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
("rust-bytemuck" ,rust-bytemuck-1)
- ("rust-drm-ffi" ,rust-drm-ffi-0.6)
+ ("rust-drm-ffi" ,rust-drm-ffi-0.8)
("rust-drm-fourcc" ,rust-drm-fourcc-2)
- ("rust-nix" ,rust-nix-0.27))
+ ("rust-rustix" ,rust-rustix-0.38))
#:cargo-development-inputs (("rust-image" ,rust-image-0.24)
- ("rust-nix" ,rust-nix-0.27)
- ("rust-rustyline" ,rust-rustyline-12))))
+ ("rust-rustix" ,rust-rustix-0.38)
+ ("rust-rustyline" ,rust-rustyline-13))))
(home-page "https://github.com/Smithay/drm-rs")
(synopsis "Safe, low-level bindings to the Direct Rendering Manager API")
(description
"Safe, low-level bindings to the Direct Rendering Manager API.")
(license license:expat)))
+(define-public rust-drm-0.10
+ (package
+ (inherit rust-drm-0.12)
+ (name "rust-drm")
+ (version "0.10.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "drm" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "11xyv3l03a3zxsrfr02mwnn5d6h4100919zb2v9fpizv7xq1pywp"))))
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-drm-ffi" ,rust-drm-ffi-0.6)
+ ("rust-drm-fourcc" ,rust-drm-fourcc-2)
+ ("rust-nix" ,rust-nix-0.27))
+ #:cargo-development-inputs (("rust-image" ,rust-image-0.24)
+ ("rust-nix" ,rust-nix-0.27)
+ ("rust-rustyline" ,rust-rustyline-12))))))
+
(define-public rust-drm-ffi-0.6
(package
(name "rust-drm-ffi")