From patchwork Sun Mar 30 12:26:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Santos X-Patchwork-Id: 41014 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 50DC427BBE2; Sun, 30 Mar 2025 13:30:25 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_SBL_CSS,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham 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 185C727BBEA for ; Sun, 30 Mar 2025 13:30:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tyrnp-0003v7-91; Sun, 30 Mar 2025 08:30:13 -0400 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 1tyrnn-0003sY-5d for guix-patches@gnu.org; Sun, 30 Mar 2025 08:30:11 -0400 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 1tyrnm-0000Lv-Rm for guix-patches@gnu.org; Sun, 30 Mar 2025 08:30:10 -0400 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=41k/fRU7jY2VtqfiQlgI1Syye9ahDRmuTPawdCtoiXc=; b=qV0wL6tS52mA7SF8xk7Ov9KLGJcfgO5gWyMT1gposNoibX7ecoMJlJ8H+KNq5BxA/ouQAKOHIcCGU3lKFQmiSJQptwML+j7OiHD+CLmyVvpPuaXI0NKoJ2eEc5wLLiixbDQ+t1Ur8246XHJ41300S+q5GBpIYuxE/hGHwXsJvAX+wKTu8Z6Samzgqp/SkRdIUHuN3TGOn8Ka5/d3EiJaXYaFjgiDjfb6W7A0I45h23jbp4KBLQeicN0jjWrDNva8tIWxKljsdNQio3ClL7yAhfb7HuBBtyjx9EWSu/QurVQHIuE8dZnsCBDxZI4Q3LCMNWHAOSmiOd86dEO2/K/IZA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tyrnk-0005k6-V9; Sun, 30 Mar 2025 08:30:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77382] [PATCH rust-team 18/18] gnu: Add matugen. Resent-From: Gabriel Santos Original-Sender: "Debbugs-submit" Resent-CC: divya@subvertising.org, efraim@flashner.co.il, steve@futurile.net, guix-patches@gnu.org Resent-Date: Sun, 30 Mar 2025 12:30:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77382 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77382@debbugs.gnu.org Cc: Gabriel Santos , Divya Ranjan Pattanaik , Efraim Flashner , Steve George X-Debbugs-Original-Xcc: Divya Ranjan Pattanaik , Efraim Flashner , Steve George Received: via spool by 77382-submit@debbugs.gnu.org id=B77382.174333780521924 (code B ref 77382); Sun, 30 Mar 2025 12:30:08 +0000 Received: (at 77382) by debbugs.gnu.org; 30 Mar 2025 12:30:05 +0000 Received: from localhost ([127.0.0.1]:35268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tyrng-0005h3-F9 for submit@debbugs.gnu.org; Sun, 30 Mar 2025 08:30:05 -0400 Received: from mail-pj1-x1041.google.com ([2607:f8b0:4864:20::1041]:48232) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1tyrnE-0005ev-Gu for 77382@debbugs.gnu.org; Sun, 30 Mar 2025 08:29:36 -0400 Received: by mail-pj1-x1041.google.com with SMTP id 98e67ed59e1d1-30362ee1312so6516204a91.0 for <77382@debbugs.gnu.org>; Sun, 30 Mar 2025 05:29:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743337770; x=1743942570; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=41k/fRU7jY2VtqfiQlgI1Syye9ahDRmuTPawdCtoiXc=; b=NLSOrHkHGCdQ2rihzO+M2ZDI/ayV2YHLQoWyaZUpPlJaHr1ZE1BqjglB/sBO8b/DcJ HEmPPTgTsM0nKUDqmynv+hgi/tvAgD4wUTh34IbC1UFsf+HHLmdVTuVNk5X8Z/jEcf7e eMqUWkioTtcMCMM1kMJAAgYf41Ch1qLkwrpjjcqVTVmXqOX7Sj2k6HUhBxL7nQwrictj HHr/4TpfpTqsSOffzDOe2k0R2yVlDpxFZ2WnubRFRcr8+cXGBrSM4ljYJJZk2tz/EnZa nzBk7zIYfOQIaloQaxP26mPHiUSVTqjldXO4pazoP/B9YfFzk6DMgR2E9mJs0OBFvAmd kszA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743337770; x=1743942570; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message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1d1-3053215b2b3mr8956247a91.29.1743337770225; Sun, 30 Mar 2025 05:29:30 -0700 (PDT) Received: from localhost (177-70-169-245.infotec.psi.br. [177.70.169.245]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3039dff0534sm7698917a91.17.2025.03.30.05.29.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 30 Mar 2025 05:29:29 -0700 (PDT) From: Gabriel Santos X-Google-Original-From: Gabriel Santos Date: Sun, 30 Mar 2025 09:26:33 -0300 Message-ID: <2e2c8404a33e76f9b56a1e01fc5d9cdb0c88e6d2.1743337577.git.gabrielsantosdesouza@disroot.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <8594394ec2901f9d339a56f01607b7465d4c3a9d.1743337576.git.gabrielsantosdesouza@disroot.org> References: <8594394ec2901f9d339a56f01607b7465d4c3a9d.1743337576.git.gabrielsantosdesouza@disroot.org> 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: , 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/rust-apps.scm (matugen): New variable. Change-Id: I3d170afa7dd3619c56ad208d6a39fa6ba3d97ca0 --- gnu/packages/rust-apps.scm | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm index ea4f5d0186..248849fa77 100644 --- a/gnu/packages/rust-apps.scm +++ b/gnu/packages/rust-apps.scm @@ -5197,3 +5197,45 @@ (define-public podlet "This package generates Podman Quadlet files from a Podman command, compose file, or existing object.") (license license:mpl2.0))) + +(define-public matugen + (package + (name "matugen") + (version "2.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "matugen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rqljm689say9f1878x9x9v1ahaji52vqrnnm6nmkkilfsyfx550")))) + (build-system cargo-build-system) + (arguments + `(#:install-source? #f + #:cargo-inputs (("rust-clap" ,rust-clap-4) + ("rust-color-eyre" ,rust-color-eyre-0.6) + ("rust-colorsys" ,rust-colorsys-0.6) + ("rust-directories" ,rust-directories-5) + ("rust-enquote" ,rust-enquote-1) + ("rust-execute" ,rust-execute-0.2) + ("rust-image" ,rust-image-0.25) + ("rust-log" ,rust-log-0.4) + ("rust-material-colors" ,rust-material-colors-0.4) + ("rust-owo-colors" ,rust-owo-colors-4) + ("rust-paris-log" ,rust-paris-log-1) + ("rust-pretty-env-logger" ,rust-pretty-env-logger-0.5) + ("rust-prettytable-rs" ,rust-prettytable-rs-0.10) + ("rust-reqwest" ,rust-reqwest-0.12) + ("rust-resolve-path" ,rust-resolve-path-0.1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-toml" ,rust-toml-0.8) + ("rust-update-informer" ,rust-update-informer-1) + ("rust-upon" ,rust-upon-0.8)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.5)))) + (home-page "https://github.com/InioX/matugen") + (synopsis "Material you color generation tool with templates") + (description + "@command{matugen} generates a Material You color palette based on a +specified image or color, easing the process of theme creation.") + (license license:gpl2)))