From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yE7vCCgH62CZmAAAgWs5BA (envelope-from ) for ; Sun, 11 Jul 2021 16:58:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 8JWEBCgH62DQPAAAB5/wlQ (envelope-from ) for ; Sun, 11 Jul 2021 14:58:48 +0000 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 A1AD01C2E for ; Sun, 11 Jul 2021 16:58:47 +0200 (CEST) Received: from localhost ([::1]:51338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m2aus-0001ts-OJ for larch@yhetil.org; Sun, 11 Jul 2021 10:58:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m2atM-0006aw-6k for guix-patches@gnu.org; Sun, 11 Jul 2021 10:57:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52385) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m2atL-0007Ec-V4 for guix-patches@gnu.org; Sun, 11 Jul 2021 10:57:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m2atL-0003fD-Uy for guix-patches@gnu.org; Sun, 11 Jul 2021 10:57:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49383] [PATCH v2 25/26] gnu: Add rust-colored-2 Resent-From: Domagoj Stolfa Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Jul 2021 14:57:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49383 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49383@debbugs.gnu.org Cc: Domagoj Stolfa Received: via spool by 49383-submit@debbugs.gnu.org id=B49383.162601541813884 (code B ref 49383); Sun, 11 Jul 2021 14:57:11 +0000 Received: (at 49383) by debbugs.gnu.org; 11 Jul 2021 14:56:58 +0000 Received: from localhost ([127.0.0.1]:35671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2at8-0003bl-GZ for submit@debbugs.gnu.org; Sun, 11 Jul 2021 10:56:58 -0400 Received: from mail-wr1-f49.google.com ([209.85.221.49]:34652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m2asz-0003Yh-E2 for 49383@debbugs.gnu.org; Sun, 11 Jul 2021 10:56:49 -0400 Received: by mail-wr1-f49.google.com with SMTP id p8so20846637wrr.1 for <49383@debbugs.gnu.org>; Sun, 11 Jul 2021 07:56:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=eKIA52tX9CrwknV08sCbi3sRMaoLHz6OaSTlk/cRlxI=; b=jNqKoBR4cZ2HmEC/OG7hS7ZMjZ5ls6pxY37CMvqC7zpWyKCX6DrHSVZ9PlTjrkVRCa p+P35VPNp1ZTZWYywtzVChOJbpT5dt1cFtfhw4y1eOmPSgpeRnPDz3ujE1ZSrO0HFI3Q xD+PtVUtpGCU8SwJCCZFuw4DrlIDeXeKZDPBWP5U79nQvSx2pNse+i/kdqaX/dfEl0Ua PRPxZ8kVDyot43srY6ZNkEY/8jqvkvoLD6QEX+cob2R8D1Cw6+MiH9LkNdJO0pwK8KNa F5wOnCaoI6HkFm0Vu8IwX9TbtTSZl14pvMJ5yCp33BRcWrAdRdO47Gl5tNHmoHxiol+V BVrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=eKIA52tX9CrwknV08sCbi3sRMaoLHz6OaSTlk/cRlxI=; b=RVz5w7TQ8jG2zRQZ5w7w2VrRO2CGuFrAcJrSVEvt+8FtR3NQ9OMY99TKg5EL34fwuR pvhI8s/l9vkoN+I+Cs/Ilw4ExiT78OxNEB4ZKJ5TckAZ44yDBpctUp4GaAcxObrWqKS7 3x9wzZytQ/rZTSeAzmAP/sQ5IjE6+WiR7+T0F4DaSHjelugce6HB1imVloP4axZNdPdl 5c6EVANZnyXnIl+SGH1dqQeg72BfdwikqFBCgw6iYXSRKflkxF52l4cscQ8z7z/MH3L8 OHyXXal0Frnc03nF1QE5B7AwB7OixaI+JnqCN+FGDBMdPikqZCzDaBaYnfxngqAeo9eU SK6w== X-Gm-Message-State: AOAM531nKC8IOMNP5GEKUp3Smh+YBxxNSmBgEPEF6HBR/E8/JH2nvNPx +0lR8968Qul4er4L1VTDKrJsbaAYwxuvRA== X-Google-Smtp-Source: ABdhPJyVEjGb/k1LY6SxFGnvi9zjMYt43AbP+gXHsmG1gk6D0gQnAbOsX/8gLgMBRhNFl8iro9aXww== X-Received: by 2002:adf:fbce:: with SMTP id d14mr1387066wrs.236.1626015403923; Sun, 11 Jul 2021 07:56:43 -0700 (PDT) Received: from pepehands.quns.cam.ac.uk (ds815.queens.cam.ac.uk. [131.111.128.28]) by smtp.googlemail.com with ESMTPSA id b16sm11827632wrs.51.2021.07.11.07.56.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jul 2021 07:56:43 -0700 (PDT) From: Domagoj Stolfa X-Google-Original-From: Domagoj Stolfa Date: Sun, 11 Jul 2021 15:55:57 +0100 Message-Id: <20210711145558.20441-26-ds815@gmx.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210711145558.20441-1-ds815@gmx.com> References: <20210711145558.20441-1-ds815@gmx.com> 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626015527; h=from:from:sender:sender: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=eKIA52tX9CrwknV08sCbi3sRMaoLHz6OaSTlk/cRlxI=; b=IRA6j+MiTqcrYEDVkwAnQM6SxKgHhjQwJCF3t/AQyYuBAFeclnzF45O1gtSdtcJMRuoIW8 SY5u7YYBNFgHuYfEWRVTVw9SY5pwOaj++FFYzoPkgiATUJqvo3DSl7p8deZaUJSbSEANq/ 0VJ4SxeERtRR4PNBTAFdsJUjM9Ix3zUPR+lgiuzCTk7K+MndGEZWS0CVyEKryDQhg1JiXb H4eNbvp9Lb4XnxShFesqL32dXCZd5gmftNzGfUppR4oQz07lnIy3OacPQ1vHU4zyp8wz4/ XuLtyIIDgzWxLY2FbgWypTExu34d3FENZN+gXyYx6HqUjAWquikKQcxtK/MbiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626015527; a=rsa-sha256; cv=none; b=O1XCkuUaCeU8PzIsXgBKJpFB28dX/MFgir/pDKe45RyaL8SJ2iShIW4XdSfwcUVUui9OvS sw4BKlwszWxc9OEba1uXlTwQBREd3E5El+63tLmoXeHqsHR1pxdDQuoD9uYCVUd3sLS+Fm BWxUwDLCYIC20f7oz2AqiY/QqCEOGul2W6KbA1JkCuBMqqAKGC24PZSHbXU6pbjih/sWn4 zYTionp6cHh2vy7SdHvOwYuDpZ0f/Mo+y4Z8Ok/S5+1Fsy2B3YACEEcH51OFUOZh4c4Rfe HrZedHVULIcjW3UwesCzJl5ViDvDeEgZ4g5uyEet8WuTc5OrN/K8sWjwq2BHvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=jNqKoBR4; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.70 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=jNqKoBR4; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: A1AD01C2E X-Spam-Score: 2.70 X-Migadu-Scanner: scn1.migadu.com X-TUID: sO9MwU459snC * gnu/packages/crates-io.scm (rust-colored-2): New public variable. --- gnu/packages/crates-io.scm | 44 ++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7f68e4e4eb..7fdbe1658f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8637,19 +8637,19 @@ diagnostics easy and relatively painless for everyone!") colors.") (license license:expat))) -(define-public rust-colored-1 +(define-public rust-colored-2 (package (name "rust-colored") - (version "1.9.3") + (version "2.0.0") (source (origin (method url-fetch) (uri (crate-uri "colored" version)) (file-name - (string-append name "-" version ".tar.gz")) + (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0nbc1czs512h1k696y7glv1kjrb2b914zpxraic6q5fgv80wizzl")))) + (base32 + "1gbcijscmznzy42rn213yp9ima7210zakgaqibgg1n441dsnyqdk")))) (build-system cargo-build-system) (arguments `(#:tests? #f @@ -8673,9 +8673,41 @@ colors.") "The most simple way to add colors in your terminal.") (license license:mpl2.0))) +(define-public rust-colored-1 + (package + (inherit rust-colored-2) + (name "rust-colored") + (version "1.9.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "colored" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0nbc1czs512h1k696y7glv1kjrb2b914zpxraic6q5fgv80wizzl")))) + (build-system cargo-build-system) + (arguments + `(#:tests? #f + #:cargo-inputs + (("rust-atty" ,rust-atty-0.2) + ("rust-winapi" ,rust-winapi-0.3) + ("rust-lazy-static" ,rust-lazy-static-1)) + #:cargo-development-inputs + (("rust-ansi-term" ,rust-ansi-term-0.12) + ("rust-rspec" ,rust-rspec-1)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'fix-version-requirements + (lambda _ + (substitute* "Cargo.toml" + (("1.0.0-beta.3") ,(package-version rust-rspec-1))) + #t))))))) + (define-public rust-colored-1.9.1 (package - (inherit rust-colored-1) + (inherit rust-colored-2) (name "rust-colored") (version "1.9.1") (source -- 2.32.0