aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-graphics.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-11-14 10:28:07 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-11-28 11:05:21 +0200
commitadd405e0302cece1bafe48fdb2ae30dc6abba696 (patch)
treed00c2c91d2e68a04ac7b434ce64dd5ef18992f24 /gnu/packages/crates-graphics.scm
parent3f1820adff9aca57b06250d0222c8c83a582af5b (diff)
downloadguix-add405e0302cece1bafe48fdb2ae30dc6abba696.tar.gz
guix-add405e0302cece1bafe48fdb2ae30dc6abba696.zip
gnu: Add rust-dpi-0.1.
* gnu/packages/crates-graphics.scm (rust-dpi-0.1): New variable. Change-Id: I1b6c24d1ac0ddbc87718e6629ba63645ae02cda0
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r--gnu/packages/crates-graphics.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 0a9fd03c71..a44d499e63 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1106,6 +1106,26 @@ and iOS.")
(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")