gnu: Add rust-dpi-0.1.

* gnu/packages/crates-graphics.scm (rust-dpi-0.1): New variable.

Change-Id: I1b6c24d1ac0ddbc87718e6629ba63645ae02cda0
This commit is contained in:
Efraim Flashner 2024-11-14 10:28:07 +02:00
parent 3f1820adff
commit add405e030
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1106,6 +1106,26 @@ (define-public rust-deltae-0.3
(description "Calculate Delta E between two colors in CIE Lab space.")
(license license:expat)))
(define-public rust-dpi-0.1
(package
(name "rust-dpi")
(version "0.1.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "dpi" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0lzz48gpgbwdrw0s8vib0589ij9jizv1vzsphm4xd9kw58lhwp7j"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-mint" ,rust-mint-0.5)
("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/rust-windowing/winit")
(synopsis "Types for handling UI scaling")
(description "This package provides types for handling UI scaling.")
(license license:asl2.0)))
(define-public rust-drm-0.12
(package
(name "rust-drm")