From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WBhbJXk/PGepzwAAe85BDQ:P1 (envelope-from ) for ; Tue, 19 Nov 2024 07:34:17 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id WBhbJXk/PGepzwAAe85BDQ (envelope-from ) for ; Tue, 19 Nov 2024 08:34:17 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=emp5v377; dkim=fail ("headers rsa verify failed") header.d=subvertising.org header.s=stigmate header.b=ttlzWbh8; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732001657; a=rsa-sha256; cv=none; b=p3a+kYfrFX9QoUy0UJKTjKB4K1QChoFlI9FKysFgWISJkrQyQEoHkwJ/kj3GwLHR4Mb2v7 VOe1hds58XdRtODBcsMjsb+gvH/mzyHMDIW2Q1wpLzpWMcVUq6GKPG0omPzL1UiF37P8wC WBNsyNuZT2g7OHrlH/wGgdcC/gNAtddik3zOOiNMSpo9ASdqnt85M1NvV6i5mDmsKJWFzm lsWZcRiphLIQTXLWLXbCYzwuz7rWefPTId0LHogokZIIHuI8jz3iHEkOe4ipAW1wMM4s7n uo7O+WSBHaZq5k6t6rzaxqEgqOD8Rixmq3YQCiIcyLfVL1I/MJ9rWdHG6ywG7g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=emp5v377; dkim=fail ("headers rsa verify failed") header.d=subvertising.org header.s=stigmate header.b=ttlzWbh8; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732001657; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=oSgwCPjPnoYJ0XH5RH6DsCccPT2I1QQYb1cPRvHnFZc=; b=U71odYeurujb6mpY88/xmuXF2xVavLujUZCkF1K8+VzhWACYvrVVu8v2iQorGkpv4Yf/HB KwgtpcT/VF/Vw7PmulKKwNpxBQYntVO/yizNAsSd76iz9Wi/1g2cWX9aGKsQVnSqYbS3hN mFaNBhdrxLQeLaUIw8DVoLAvo6pBZKy5kdEQ02GMOCbclJXF3ZwpFxyXWt4GHP/cukC0aa yKrDaxmjTWBIoYHDu1oJCs8ZOIqPtbzw0zcpoTlJIORGZUIM1s/r8bsw7zZ42FzHhXcppC T/XhsArdanycnVoCvqmOLIvoVB0vtMFWswgJzBeK7HkxEL8QveT3mfq41Hc08Q== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6FCAF8AAB0 for ; Tue, 19 Nov 2024 08:34:15 +0100 (CET) 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 Content-Transfer-Encoding: 8bit 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 From: Divya Ranjan via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 0.78 X-Spam-Score: 0.78 X-Migadu-Queue-Id: 6FCAF8AAB0 X-Migadu-Scanner: mx12.migadu.com X-TUID: F3GPSYANikTG * 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") -- 2.46.0