diff options
author | Divya Ranjan <divya@subvertising.org> | 2024-11-19 07:32:08 +0000 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:26 +0200 |
commit | 552eb28a42805adb98062c216846625042ffdbea (patch) | |
tree | a37bd1966a8c4a86fcf2fbba65d25f1531d199cc /gnu/packages/crates-graphics.scm | |
parent | 869bced5c1c734afa6e93d9248278b56f973d8b2 (diff) | |
download | guix-552eb28a42805adb98062c216846625042ffdbea.tar.gz guix-552eb28a42805adb98062c216846625042ffdbea.zip |
gnu: Add rust-dark-light-1.
* gnu/packages/crates-graphics.scm (rust-dark-light-1): New variable.
Change-Id: Idb780255b8dcc96658858edbb2e5ed8e0876e5f3
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-graphics.scm')
-rw-r--r-- | gnu/packages/crates-graphics.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index a534375012..757e23f81e 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -956,6 +956,34 @@ and iOS.") (description "Low level D3D12 API wrapper.") (license (list license:expat license:asl2.0)))) +(define-public rust-dark-light-1 + (package + (name "rust-dark-light") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "dark-light" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0g1sq0byf5h9w12b02aza8vbrq81as4yh67yvgf419vz2sbzlxia")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-dconf-rs" ,rust-dconf-rs-0.3) + ("rust-detect-desktop-environment" ,rust-detect-desktop-environment-0.2) + ("rust-dirs" ,rust-dirs-4) + ("rust-objc" ,rust-objc-0.2) + ("rust-rust-ini" ,rust-rust-ini-0.18) + ("rust-web-sys" ,rust-web-sys-0.3) + ("rust-winreg" ,rust-winreg-0.10) + ("rust-zbus" ,rust-zbus-4)))) + (home-page "https://github.com/frewsxcv/rust-dark-light") + (synopsis "Detect if dark mode or light mode is enabled") + (description + "This package provides a way to detect if dark mode or light mode is enabled.") + (license (list license:expat license:asl2.0)))) + (define-public rust-dav1d-0.10 (package (name "rust-dav1d") |