From patchwork Thu Mar 27 22:14:02 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gabriel Santos X-Patchwork-Id: 40903 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 98C1F27BBEA; Fri, 28 Mar 2025 09:58:29 +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.6 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_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 2DD8227BBE2 for ; Fri, 28 Mar 2025 09:58:29 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ty6Sw-000376-Rf; Fri, 28 Mar 2025 05:57:30 -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 1ty1Xh-0007nr-S1 for guix-patches@gnu.org; Fri, 28 Mar 2025 00:42:06 -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 1ty1Xh-00064f-Dh for guix-patches@gnu.org; Fri, 28 Mar 2025 00:42:05 -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=fsDhQB2oRFg+P8dNIOu55q9niVQMeZeKWm8TlFmjN0g=; b=QVNDUCKU6WNupGjIMJjoKtlsuhGSgHHBrbXlc6WTnKTx2wZqQgVt9hZfneu39PByePFZU4qRA/TfHbspqQfh4f+tCT4TNoKpla0vyTMtGXHrLqnaTRHhWlEV2BvIFa2YgfZu7GuVzpmimQ+LntQckodq9oPmECQiwzQ1YQcHtrAYoHRhGbsORqTovsUl2DvZX2PTUvNFyzvjGu7T/D4hb0OqERh6oUjuAMG4xZJYpTPVLwcUJgJD7ND11VquRBD+QhucrZ7Y8qnUPq2RJnRtSvfwrMFw674Wrs18aePqEsgGUEhbvSOAZxge74bBR/RQY0CLTuIOR+u3JGNY9wX71w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ty1Xh-0002Lh-98 for guix-patches@gnu.org; Fri, 28 Mar 2025 00:42:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#77040] [PATCH v4 05/12] gnu: Add rust-colored-3. Resent-From: Gabriel Santos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 28 Mar 2025 04:42:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 77040 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 77040@debbugs.gnu.org Cc: Gabriel Santos , gabrielsantosdesouza@disroot.org Received: via spool by 77040-submit@debbugs.gnu.org id=B77040.17431368738843 (code B ref 77040); Fri, 28 Mar 2025 04:42:05 +0000 Received: (at 77040) by debbugs.gnu.org; 28 Mar 2025 04:41:13 +0000 Received: from localhost ([127.0.0.1]:52262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ty1Wq-0002IR-It for submit@debbugs.gnu.org; Fri, 28 Mar 2025 00:41:13 -0400 Received: from mail-pl1-x643.google.com ([2607:f8b0:4864:20::643]:53396) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1txvZt-0003ek-6a for 77040@debbugs.gnu.org; Thu, 27 Mar 2025 18:19:59 -0400 Received: by mail-pl1-x643.google.com with SMTP id d9443c01a7336-2239c066347so37261145ad.2 for <77040@debbugs.gnu.org>; Thu, 27 Mar 2025 15:19:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1743113990; x=1743718790; 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=fsDhQB2oRFg+P8dNIOu55q9niVQMeZeKWm8TlFmjN0g=; b=Hqj7Y6wR9BFjBExma/jZAUyidQyya5CusLjX+gJGu1lmJ7H1GJO0FueHH9h/NzAqBQ K3B79x80DmzI69M/Q/fbvPdruMTwQhJ6a7+13sSzA6m/GMJTiSHyFLCvwuCMT4HpInKo s8chzMDejVLyUVugjiw1tG2Zb1LCaSWP28vjZSTTi7DLCxAGUphEu/gGYbU7vsm1lWCn VBP+uJLKzC95Euj8l1+zK79omGdjdenY6HjZ1z+yVMB/YfC1gMhMplyKaMEYrw98q5VB iKzQFBGNcRNcEAuc9WESeUseNRjtHQi09E+aFuZTFBTBB/NseFXxT/1z21Tt1aP6Z8SB zJiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743113990; x=1743718790; 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-id:reply-to; bh=fsDhQB2oRFg+P8dNIOu55q9niVQMeZeKWm8TlFmjN0g=; b=PxY0j84FRTl7I/yR6HpqHPysvE8muV+74S5IoX8Tp/VHto2E1i639Tw34YV8zURRcC OEyAAQoBFI5kyYnl9bcnoNyPoXTtAlBrIdTp82Hcs8jvIZurqC1EOVeb542zRUIRSrZr JzZLshrGCV+S3j+lz/UG7Amgk77qNPalNQ07bYc4xlVJxw+3BpKeOb4XRuQW7FR7k5Yz W68zZszKdeB26VIcNJJZ5sOytVDjw4pKlN58w90R1a4d57XsRhWApvFFwPu2a3z7xTss U4gNgFqU9kQ1ml4c9RYIS38362xsXlReG3sSRqYTSSCJfeNiuQBkTXRNzSLl2EYM+JiZ zKqw== X-Gm-Message-State: AOJu0YyJB6PeVOW3FNa4r1w8XY8HOn4Q7GfIiqwIQoGEDukb1t3K0jk8 3kG73gYBnt8//VnlzaR07Y/B8MhCsu1cNtD+3n4wUydvJe2CeBw36VDxp0UOC3/fbHRS X-Gm-Gg: ASbGncvT/MVzkRI3nAhoP/w8PcP+otLKi8O3V8SPR6f5uENXWBdiv9lk4c2Vn+mkLnI 9TpcvDj3qKNQwjgeBqppm9tvucixqDi8yFrt+r5oWJQsto4i9Jza47GiqgICMtMF4L/ajg1pnro LgqrOjhEhuYFhjWCQTyEb+DP8RsNfYqXEvA4qPBt9x0rTcR8y1A/ujc5Z4Vc3gMTvHQU2ARnRC2 II65XqAybSqQicD2J09NpgdkjxaCDvps0oigFHNJj/ZB3AFGfgsUd1wRtiQL8RJpDcNqd22v5Sk cBpM2zymKKS6x5iZCPDXMZxnpfqYrtdDKEcoOcGPt1mRIaS7j/hiBAE19gidwyMm3Kzsh5jDhjB 4AVlPvwGMTA== X-Google-Smtp-Source: AGHT+IGJOI0cUV3E5QBJx2bVHl9+MDLKmPFUkOvNRdlfOZ+SjDJUTUQ+gcV6ft4ofBfFI8UFNLkz0w== X-Received: by 2002:a05:6a20:1591:b0:1f3:418d:91b5 with SMTP id adf61e73a8af0-1fea2e98dcbmr9266737637.24.1743113990143; Thu, 27 Mar 2025 15:19:50 -0700 (PDT) Received: from localhost (177-70-164-151.infotec.psi.br. [177.70.164.151]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-73971069b62sm362586b3a.112.2025.03.27.15.19.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Mar 2025 15:19:49 -0700 (PDT) From: Gabriel Santos Date: Thu, 27 Mar 2025 19:14:02 -0300 Message-ID: <20250327221833.21312-6-gabriel.santos.smtp@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250327221833.21312-1-gabriel.santos.smtp@gmail.com> References: <20250327221833.21312-1-gabriel.santos.smtp@gmail.com> MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 28 Mar 2025 00:41:03 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 28 Mar 2025 05:57:25 -0400 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/crates-io.scm (rust-colored-3): New variable. * gnu/packages/crates-io.scm (rust-colored-2): Inherit from rust-colored-3. Change-Id: Ie78a8701fb294f8d582eb3a6865d1a7d0772b9ad --- gnu/packages/crates-io.scm | 48 +++++++++++++++++++++++++++----------- 1 file changed, 34 insertions(+), 14 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b89eb8a741..e6b05fc073 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -14069,19 +14069,44 @@ (define-public rust-colorchoice-1 (description "Global override of color control") (license (list license:expat license:asl2.0)))) +(define-public rust-colored-3 + (package + (name "rust-colored") + (version "3.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "colored" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0plizddhxc4vgkzdbzky5zggyaqfrmyim2d0n6sb7py9j3nf1q7x")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f ; Tests expect a real terminal. + #:cargo-inputs + (("rust-windows-sys" ,rust-windows-sys-0.59) + ("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-insta" ,rust-insta-1.42) + ("rust-rspec" ,rust-rspec-1)))) + (home-page "https://github.com/mackwic/colored") + (synopsis "Add colors in your terminal") + (description + "The most simple way to add colors in your terminal.") + (license license:mpl2.0))) + (define-public rust-colored-2 (package + (inherit rust-colored-3) (name "rust-colored") (version "2.1.0") (source - (origin - (method url-fetch) - (uri (crate-uri "colored" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1f4h9p64snrnz4x432iza15p4diqjcgpmpvhi956d6r1rq61bwnb")))) - (build-system cargo-build-system) + (origin + (method url-fetch) + (uri (crate-uri "colored" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1f4h9p64snrnz4x432iza15p4diqjcgpmpvhi956d6r1rq61bwnb")))) (arguments `(#:tests? #f #:cargo-inputs @@ -14089,12 +14114,7 @@ (define-public rust-colored-2 ("rust-windows-sys" ,rust-windows-sys-0.48)) #:cargo-development-inputs (("rust-ansi-term" ,rust-ansi-term-0.12) - ("rust-rspec" ,rust-rspec-1.0.0-beta.3)))) - (home-page "https://github.com/mackwic/colored") - (synopsis "Add colors in your terminal") - (description - "The most simple way to add colors in your terminal.") - (license license:mpl2.0))) + ("rust-rspec" ,rust-rspec-1.0.0-beta.3)))))) (define-public rust-colored-1 (package