From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8CLhEBndmGVQJgEAkFu2QA (envelope-from ) for ; Sat, 06 Jan 2024 05:54:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id YPKTChndmGUMKAAAqHPOHw (envelope-from ) for ; Sat, 06 Jan 2024 05:54:49 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector1 header.b=ycGGKvsV; 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=1704516889; 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=lCEjKlvK043tTrn6NsZJvN3natAXfAu8ziwQrDg+bf4=; b=t/4ei9lFs876N+S8ljuD9gLbQoxVmfvW/MGy6QqsapNWV/K1Bk/7lH5+lUqPqCRnKZ/kaG J3rDe/Dl90bQ5nlgnw55HsGaWxKq3SzciB1TbQ4ipNZFnqNzFSKy7SYwoM56x90JW9VFU0 wePUs651ktDMPnlFlqFe9PNeQPWT7i0ZRzBsfOn/sGcILo+mJEyUtjRvDY0gO6vI2Pm1A3 Zh3oDPn0E+e58khpraVhLQu+1dOLvT8JYkSeLLMzLy9ln+CKqZ+gr9upleD9KwZsb1nnvg 5ilb4VLiswbweFO68Y2dd6CsQJqDvi/4N3dCeeRS/WA/HxOZZGGn3oEu2m00Bw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704516889; a=rsa-sha256; cv=none; b=AF4JAAwGcsc+JTQDAA43vjnm8mFJEd5Jca3+MOsk/w0i11NRr2OKXM3s/mGTz+pljaPzgi CbT0qwlVBtx2WTF3lSOeupOXcgG2oP2UAXomdTQFH8slN/znEM1JYDs9h9QTAYx5ruflcH YKEBK9y7JXVH6zYMzYmfBmrk7TaxfAEgQ9bYx9EKQrGGJNBluUbi2l6tkeaEdvvNJQfX/I B+c0UyLdWievREwgx1UakJS6NZZ5qX/2xWbOTz8yuIMn1GLKqd+7A3iXCSwBPHRMDck4M8 IwIdwWbWobN17au4Tu4I5T2mMp3UqHPQx9oUfyLucos97ySVdwZalDrVi+eLwg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector1 header.b=ycGGKvsV; 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 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 07E6B3C24D for ; Sat, 6 Jan 2024 05:54:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rLyhA-0003Hm-Ol; Fri, 05 Jan 2024 23:54:04 -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 1rLyh7-0003FT-8z for guix-patches@gnu.org; Fri, 05 Jan 2024 23:54: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 1rLyh7-0000Wb-0Q for guix-patches@gnu.org; Fri, 05 Jan 2024 23:54:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rLyhB-000769-M0; Fri, 05 Jan 2024 23:54:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68275] [PATCH 09/11] gnu: rust-bat-0.18: Refactor package as library. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 06 Jan 2024 04:54:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68275 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68275@debbugs.gnu.org Cc: Jaeme Sifat , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 68275-submit@debbugs.gnu.org id=B68275.170451683027184 (code B ref 68275); Sat, 06 Jan 2024 04:54:05 +0000 Received: (at 68275) by debbugs.gnu.org; 6 Jan 2024 04:53:50 +0000 Received: from localhost ([127.0.0.1]:58348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLygv-00074J-Uo for submit@debbugs.gnu.org; Fri, 05 Jan 2024 23:53:50 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:47948) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rLygt-000743-Sj for 68275@debbugs.gnu.org; Fri, 05 Jan 2024 23:53:48 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rLygj-004j5x-Fu for 68275@debbugs.gnu.org; Sat, 06 Jan 2024 05:53:37 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector1; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-ID:Date:Subject:Cc:To:From; bh=lCEjKlvK043tTrn6NsZJvN3natAXfAu8ziwQrDg+bf4=; b=ycGGKvsVesaebNMYB4eM8h9E8G ugdLClN1ocdfip7KCGJexey0kiWVFzhSejKkuoTtnK4HHjc3sEPNQANvVfQPo1enb5kSGfSlGDznL qwuBt6fGCigvb13fdMxcGmv3mtZWKf1VCdzuciLJSjMSU1qy2XcEZwga5MQFJjNsm0MFsLhpKXA/N iP157QFh+/xgkmQx64P6GtitohMKnX29qvRy3MBeGLsqg5RVP4wy8PQhVlOXepjdhWZzv4E2SUUU2 jZKxJ1znQiDIjjHl0ozb7RBNPjOtTxoYYPfKjplo3DFmz7PatySVOX/f7KiZNCMQjUlkAQXCrlDqy Mw6PNfQA==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rLygj-00078V-6j for 68275@debbugs.gnu.org; Sat, 06 Jan 2024 05:53:37 +0100 Received: by submission02.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rLygT-007pu9-Da; Sat, 06 Jan 2024 05:53:21 +0100 Date: Fri, 5 Jan 2024 23:52:40 -0500 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches From: Jaeme Sifat 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: -6.38 X-Spam-Score: -6.38 X-Migadu-Queue-Id: 07E6B3C24D X-Migadu-Scanner: mx11.migadu.com X-TUID: PsiM9ThMo/8V * gnu/packages/crates-io.scm (rust-bat-0.18): Refactor package definition as library. [package]: Inherit from rust-bat-0.22. [name]: Change to rust-bat. Change-Id: I4f5cead29ae56af87529872880e5fc75204e9898 --- gnu/packages/crates-io.scm | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 3265d85588..b0e67e525b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5755,7 +5755,8 @@ (define-public rust-bat-0.22 (define-public rust-bat-0.18 (package - (name "bat") + (inherit rust-bat-0.22) + (name "rust-bat") (version "0.18.3") (source (origin @@ -5764,9 +5765,8 @@ (define-public rust-bat-0.18 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0qlk032dd6zxda1v7clah33nafxygaw3x7f73ajwlvk956nrn1js")))) - (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:skip-build? #t ; Provided as a library not a binary. #:cargo-inputs (("rust-ansi-colours" ,rust-ansi-colours-1) ("rust-ansi-term" ,rust-ansi-term-0.12) @@ -5798,17 +5798,8 @@ (define-public rust-bat-0.18 ("rust-serial-test" ,rust-serial-test-0.5) ("rust-tempfile" ,rust-tempfile-3) ("rust-wait-timeout" ,rust-wait-timeout-0.2)))) - (native-inputs - (list pkg-config)) (inputs - (list libgit2 zlib)) - (home-page "https://github.com/sharkdp/bat") - (synopsis "@command{cat} clone with syntax highlighting and git integration") - (description - "@command{bat} is a drop-in @command{cat} replacement featuring syntax -highlighting for a large number of languages, git integration, and automatic -paging.") - (license (list license:expat license:asl2.0)))) + (list libgit2 zlib)))) (define-public rust-beef-0.5 (package -- 2.41.0