From patchwork Tue Nov 19 07:32:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Divya Ranjan X-Patchwork-Id: 70565 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 06DFF27BBE9; Tue, 19 Nov 2024 07:34:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 328A827BBE2 for ; Tue, 19 Nov 2024 07:34:15 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDIkP-0002e3-F4; Tue, 19 Nov 2024 02:34:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tDIkN-0002dl-Ew for guix-patches@gnu.org; Tue, 19 Nov 2024 02:34:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tDIkM-00017c-GE for guix-patches@gnu.org; Tue, 19 Nov 2024 02:34:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=oSgwCPjPnoYJ0XH5RH6DsCccPT2I1QQYb1cPRvHnFZc=; b=emp5v3778gqQoPuqx1ipDWB4SXqbFRXgTSv1pmkB0FmnJDyiXzRaltrs2EwAuY+bPLGr9q0LSQUhMIFryWI6FvGUojeDiU8k+t5NYnYGpGgv6nq7VNsB/j9TsebCfL7fhjkLId3ewLTlQjbFox9PlmJWfuaz7FSzPXE8z5RtGWcXAjSGnTU55X8eNou1wGWr3tOgoDdIeFSGGKlCey3n1D1kgRJ06u6V3EOj87+j55uRTj8zvlNJHX8GnIFWgUZm+JNY6Wh96lTNW1/iIzMQmtyhao06zJxXbchDV2OmmzyU31WfndoMblZ1P8kZ4vR+L1dZQMitQG2cTdAxA6GHBg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDIkM-0006vi-2q for guix-patches@gnu.org; Tue, 19 Nov 2024 02:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74432] [rust-team 1/9] gnu: crates-graphics: Add rust-dark-light References: <20241119072632.22028-1-divya@subvertising.org> In-Reply-To: <20241119072632.22028-1-divya@subvertising.org> Resent-From: Divya Ranjan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Nov 2024 07:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74432 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 74432@debbugs.gnu.org Cc: efraim.flashner@gmail.com, Divya Ranjan Received: via spool by 74432-submit@debbugs.gnu.org id=B74432.173200163126612 (code B ref 74432); Tue, 19 Nov 2024 07:34:02 +0000 Received: (at 74432) by debbugs.gnu.org; 19 Nov 2024 07:33:51 +0000 Received: from localhost ([127.0.0.1]:40777 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDIkA-0006vA-KP for submit@debbugs.gnu.org; Tue, 19 Nov 2024 02:33:50 -0500 Received: from devianza.investici.org ([198.167.222.108]:29753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDIk7-0006v1-Um for 74432@debbugs.gnu.org; Tue, 19 Nov 2024 02:33:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=subvertising.org; s=stigmate; t=1732001618; bh=oSgwCPjPnoYJ0XH5RH6DsCccPT2I1QQYb1cPRvHnFZc=; h=From:To:Cc:Subject:Date:From; b=ttlzWbh8rMO5v/a0W+pAdbCmBvvX0YVM/nn4X17aSTjQY4BB8hWnjEdEtXMDx7/d5 AQ95jl1i0R+HOGjE5k6xR1X0SYUpm7Z+erplQz8r7jkCRCzYC81Pmr6JEKbeod2Xuy GHarsCtwH2sr1qjK0MW8+qsYrdqr2uWcdwpRTASw= Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Xsx7Q6tCJz70QB; Tue, 19 Nov 2024 07:33:38 +0000 (UTC) Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: divya@subvertising.org) by localhost (Postfix) with ESMTPSA id 4Xsx7Q0Rmtz6vTS; Tue, 19 Nov 2024 07:33:37 +0000 (UTC) Date: Tue, 19 Nov 2024 07:32:08 +0000 Message-ID: <20241119073222.22383-2-divya@subvertising.org> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Divya Ranjan X-ACL-Warn: , Divya Ranjan via Guix-patches X-Patchwork-Original-From: Divya Ranjan via Guix-patches via From: Divya Ranjan Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-graphics.scm (rust-dark-light-1): New variable Change-Id: Idb780255b8dcc96658858edbb2e5ed8e0876e5f3 --- gnu/packages/crates-graphics.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index a534375012..f1b97ee6f6 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -956,6 +956,33 @@ (define-public rust-d3d12-0.7 (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-1) + ("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 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")