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 gAfyMKoPe2fM+AAAe85BDQ:P1 (envelope-from ) for ; Sun, 05 Jan 2025 23:03:07 +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 gAfyMKoPe2fM+AAAe85BDQ (envelope-from ) for ; Mon, 06 Jan 2025 00:03:06 +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=sj4OXGcW; dkim=fail ("headers rsa verify failed") header.d=icloud.com header.s=1a1hai header.b=sWxU7nRj; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1736118186; 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=SYM91k2y7keCftRtz6aez5dh6G0pjcenx16Seysr2qs=; b=Oo9FT6QPZCemv4uJBqi43J1IJKHYIHWoMvvXZaU1d0TWarBEnV7CzxlXkAiEnTumkypVAW nV8m4Y19r63AAK7TmUa9o7oO2CbMOF6aF0iYuTxDMHW49bsKQw5zxFuGfzC74VVJJinWjD m3U8sHOjp+pPpXF8zFHqg/EQRkttfwXmbfqpRhezJPWoBB1WNj43qmNNKBXgrSRkWowUi8 QW3/vlmunE2VXRYRZWUP2fr9M27QYxg1yeu8XmlSaHsPh+lzvknpWTsr+Pl0Esv05jxW9y o/Oefpxl/llWd6WDvHn47bkvRjUFCcVbC5ba/FCuS6WIGg3eFM4TrOGCVyZLqQ== 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=sj4OXGcW; dkim=fail ("headers rsa verify failed") header.d=icloud.com header.s=1a1hai header.b=sWxU7nRj; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1736118186; a=rsa-sha256; cv=none; b=IcZcg4DdiD03dsX/8eRhhVthRZkFJLOUp6XEAGiPi2FikVtOHGrFAR6fSolNcJMEvvm5+F H7itkCHj9rK1Oz432GBNCYFa7FGDNdb6sDa5nmLjewvZMOiN+TSk+fYE/MBp1zKHtAS7NI TAxey/FTh8uhPSIhIgrHKRZhNSfsPekzKCIEUCirR4QZzQMncwNbtJsbnzaAmUDfQMttMJ SKpVrcjDQHN5t1uwxG1xbTwoia6okWLomm2d00R0DOXmUhg+NtZaKxyfJoknvcBwzEpdjT 5YW9sp+anKzdoet5yfzugu0xw/F4v+FhqMRhBFdqpMHrhC89QmIWNJBwftdPZw== 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 426FA24B59 for ; Mon, 06 Jan 2025 00:03:06 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tUZeB-0006sc-CB; Sun, 05 Jan 2025 18:03:03 -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 1tUZeA-0006sH-8H for guix-patches@gnu.org; Sun, 05 Jan 2025 18:03:02 -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 1tUZe9-00042s-WD for guix-patches@gnu.org; Sun, 05 Jan 2025 18:03:02 -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:References:In-Reply-To:Date:From:To:Subject; bh=SYM91k2y7keCftRtz6aez5dh6G0pjcenx16Seysr2qs=; b=sj4OXGcWAJBMHmNwmgW8L/X0TaUV9MyMzGPkYf4YjboS0NjgbxdRoSLS8p52bPDOdiYX4YME3s7kalvbUkF1gzy8pP99f2P66Wy+oxj40SiyNZjDJXkLzCeLEHjE+Q0Q1v+Xb3FN4ImrLVLVeIYNVEiL9gpoTfMwy5ypHczmuaJnbGic8kVJ6B5BJbrvu+CNf2PaMMrCg+KJRcFZd0xPRGzzYZWnIffZ8sNXA6vxuUWFZpD0YsfXOvz6zoPeez25HyEZD04ln+JB9fjFpmv1boRiRTKTfb/e8qsSMfzUp1l3fCEexIHE49EtTsAJEx/eOc3bi0asYKtJ6b8QwJK1ow==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tUZe9-0002Dl-PR; Sun, 05 Jan 2025 18:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75391] [PATCH 01/12] gnu: Add wallust. Resent-From: Andrew Wong Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sun, 05 Jan 2025 23:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75391 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75391@debbugs.gnu.org Cc: Andrew Wong , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 75391-submit@debbugs.gnu.org id=B75391.17361181328283 (code B ref 75391); Sun, 05 Jan 2025 23:03:01 +0000 Received: (at 75391) by debbugs.gnu.org; 5 Jan 2025 23:02:12 +0000 Received: from localhost ([127.0.0.1]:35793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tUZdM-00029V-4g for submit@debbugs.gnu.org; Sun, 05 Jan 2025 18:02:12 -0500 Received: from qs51p00im-qukt01072302.me.com ([17.57.155.13]:54367) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tUZdK-00029H-23 for 75391@debbugs.gnu.org; Sun, 05 Jan 2025 18:02:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com; s=1a1hai; t=1736118124; bh=SYM91k2y7keCftRtz6aez5dh6G0pjcenx16Seysr2qs=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=sWxU7nRjyXNl1VAWPMolPVMgSeJDjIA1bpjSor/YOL9CS3GkYQlnCED7OuqSSalt9 N8WV5oMambOLI9d4g6up8cLf/szJFYKrUnEloSbwUD95nkqLvyiTkCyYbn20f9y3Or e9G1FnNIqalYeD4U0KbUOi/ePmZ+1H4gK0ubwF/+A9zyfGY73vgwk18ac30xNp9fnX zcW3XHe520Ea3U8Wn0V07dkdlawYPzGzo0G1UwK545cmQ2HIFRNp69crf3H0rt1QSd vk2DrYMQJa1kvKS64COXZrrSHQENYe0GoMmrE9umXcqoySd/FG52yoDme6ktMfkYOy c2Hh7TOWgtjgg== Received: from wongworks.lan (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01072302.me.com (Postfix) with ESMTPSA id D13A163002CA; Sun, 5 Jan 2025 23:02:03 +0000 (UTC) Date: Sun, 5 Jan 2025 18:01:04 -0500 Message-ID: <0a0e0708523632981706c917916fa10b4017f7ee.1736117349.git.wongandj@icloud.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: kpaa2PStYLfCCYTa4xz21t8YYy7U-6xE X-Proofpoint-GUID: kpaa2PStYLfCCYTa4xz21t8YYy7U-6xE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-02_03,2025-01-02_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=974 suspectscore=0 clxscore=1011 spamscore=0 bulkscore=0 mlxscore=0 phishscore=0 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2501050215 X-Apple-Remote-Links: v=1;h=KCk=;charset=UTF-8 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: Andrew Wong X-ACL-Warn: , Andrew Wong via Guix-patches From: Andrew Wong 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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: 0.01 X-Spam-Score: 0.01 X-Migadu-Queue-Id: 426FA24B59 X-TUID: WkEvW/QhMPi7 * gnu/packages/rust-apps.scm (wallust): New variable; (wallust-themes): New variable. Change-Id: If02281e12a2f1f54fccc09bd90181e3e23fb0de2 --- gnu/packages/rust-apps.scm | 108 +++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index dbf253b366..776a43f8e0 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -4422,6 +4422,114 @@ (define-public rust-xremap (description "This package provides dynamic key remapp for X and Wayland.") (license license:expat))) +(define-public wallust-themes + (package + (name "wallust-themes") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wallust_themes" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kgkggdb78sxz81si3glhvqpxbxhz858p9wzqxd51drzlvwgi1m1")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1)))) + (home-page "https://codeberg.org/explosion-mental/wallust-themes") + (synopsis "Built in colorschemes for Wallust") + (description "This package provides built-in colorschemes for Wallust.") + (license license:expat))) + +(define-public wallust + (package + (name "wallust") + (version "3.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "wallust" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1frx8py92vn04hc8cq18bs0z5dadx2q271fa3wgsry9bh5qvs6jp")))) + (build-system cargo-build-system) + (native-inputs (list pkg-config)) + (inputs (list zlib libgit2-1.8)) + (arguments + `(#:features (list "buildgen" "doc" "themes") + #:install-source? #f + #:phases (modify-phases %standard-phases + (add-after 'install 'install-extras + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (install-completion (lambda (path filename) + (install-file (string-append + "completions/" + filename) + (string-append + out path)))) + (install-man (lambda (filename section) + (install-file (string-append + "man/" filename) + (string-append out + "/share/man/man" + section))))) + (install-completion "/etc/bash-completion.d/" + "wallust.bash") + (install-completion + "/share/fish/vendor_completions.d/" "wallust.fish") + (install-completion "/share/zsh/site-functions/" + "_wallust") + (install-completion "/share/elvish/lib/" "wallust.elv") + (install-man "wallust-cs.1" "1") + (install-man "wallust-run.1" "1") + (install-man "wallust-theme.1" "1") + (install-man "wallust.1" "1") + (install-man "wallust.5" "5"))))) + #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1) + ("rust-clap" ,rust-clap-4) + ("rust-dirs" ,rust-dirs-5) + ("rust-documented" ,rust-documented-0.6) + ("rust-dunce" ,rust-dunce-1) + ("rust-fast-image-resize" ,rust-fast-image-resize-5) + ("rust-fastrand" ,rust-fastrand-2) + ("rust-glob" ,rust-glob-0.3) + ("rust-image" ,rust-image-0.25) + ("rust-itertools" ,rust-itertools-0.13) + ("rust-kmeans-colors" ,rust-kmeans-colors-0.6) + ("rust-minijinja" ,rust-minijinja-2) + ("rust-new-string-template" ,rust-new-string-template-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-owo-colors" ,rust-owo-colors-4) + ("rust-palette" ,rust-palette-0.7) + ("rust-regex" ,rust-regex-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-shellexpand" ,rust-shellexpand-3) + ("rust-spinners" ,rust-spinners-4) + ("rust-strum" ,rust-strum-0.26) + ("rust-thiserror" ,rust-thiserror-1) + ("rust-toml" ,rust-toml-0.8) + ("rust-toml-edit" ,rust-toml-edit-0.22) + ("rust-vergen-git2" ,rust-vergen-git2-1) + ("wallust-themes" ,wallust-themes)) + #:cargo-development-inputs (("rust-clap-complete" ,rust-clap-complete-4) + ("rust-clap-mangen" ,rust-clap-mangen-0.2) + ("rust-criterion" ,rust-criterion-0.5) + ("rust-dirs" ,rust-dirs-5) + ("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://explosion-mental.codeberg.page/wallust") + (synopsis "Generate themes from images with advanced templating") + (description + "Wallust is a rust-based successor to \"pywal\" which generates color +themes from images with advanced templating and generation options. +Templates are made using either a subset of Jinja2 or pywal syntax. +Color generation may be constrained to obey ANSI color standards, meet +minimum contrast levels, and more.") + (license license:expat))) + (define-public xremap-gnome (package (inherit rust-xremap) -- 2.47.1