From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WMBcNRfgPWXvAQEAauVa8A:P1 (envelope-from ) for ; Sun, 29 Oct 2023 05:31:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WMBcNRfgPWXvAQEAauVa8A (envelope-from ) for ; Sun, 29 Oct 2023 05:31:19 +0100 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 A14D9157A3 for ; Sun, 29 Oct 2023 05:31:19 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=ZqEByqI7; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1698553879; a=rsa-sha256; cv=none; b=UlPr07e+394+Ya/5SJdZs5Q1cz+hbAeo10a3/Fnwl2rLxwOcEqwwX0MDuvF6yfGk8Vg9yL Nf6R2yW4DAKYVHeZKVQz+L9Q71o65A7MTR+wGp2/sXuYTzGmJhAaq+vHKuL6CL7dVZBz5/ kRD7pxzTQTz9tJPykOrkWjA8OvJCX9Fw81EizJyp52UKZrxHL/NRobDb9R4nqDKjdBPaXK khOnCKr027XIMetjFWXG58hojyLrPbiR+uMPef+e8B2WaF4JK8lW0ITyw6WBlPNOBFRG18 PZX9nzgDiqI1PsRdWTroRv4wOnlrquIaIuMkpEdV5qgW998STbBMwJVx+Q9iLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1698553879; 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=oypb0udxatKrOMJuJHJYVZbcv6D4APcB4XBS1oTAPnQ=; b=XBQKnScXmveO3rndEEn6BaZhFcH6m3IOhxMZDKgnVOU0+xmGkU+1nV0BCATnzACUJaOMoC VQpSIsJ2ApztPV12DfATsv0AvcpcXngMvpr2sEtNnggY6CruWe7aaOfWUA1ofAQhpER51S RaYtoeZEsmhG7mj1Tlkawudiz2tJ1QGdufgV9oUAMd25Ysx2A7iZe7Q7cZZYwO0k2Yx/XB vDoO9dqdMepflZaKlfxqahIzuOVAHV0v3eysizZNaHrfhANeYVjbMRM41qfbA6jQmmzb9l Zw8X67iogqn4nEWx3LBcMJqeUKAZXOmUKQ8bFLcLM3OxK7V38ExeukGG0rnPLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=runbox.com header.s=selector2 header.b=ZqEByqI7; dmarc=pass (policy=none) header.from=gnu.org; 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" Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwxRu-0008DE-SM; Sun, 29 Oct 2023 00:30:54 -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 1qwxRZ-0008Ao-2C for guix-patches@gnu.org; Sun, 29 Oct 2023 00:30:42 -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 1qwxRW-0004tS-OI for guix-patches@gnu.org; Sun, 29 Oct 2023 00:30:30 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qwxS3-0001QR-2Q for guix-patches@gnu.org; Sun, 29 Oct 2023 00:31:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66805] [PATCH 14/22] gnu: Add rust-git2-0.18. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 29 Oct 2023 04:31:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66805 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66805@debbugs.gnu.org Cc: Jaeme Sifat Received: via spool by 66805-submit@debbugs.gnu.org id=B66805.16985538245343 (code B ref 66805); Sun, 29 Oct 2023 04:31:03 +0000 Received: (at 66805) by debbugs.gnu.org; 29 Oct 2023 04:30:24 +0000 Received: from localhost ([127.0.0.1]:40168 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwxRP-0001O6-Mf for submit@debbugs.gnu.org; Sun, 29 Oct 2023 00:30:24 -0400 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:57406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qwxRJ-0001ML-If for 66805@debbugs.gnu.org; Sun, 29 Oct 2023 00:30:18 -0400 Received: from mailtransmit02.runbox ([10.9.9.162] 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 1qwxQh-00BUqM-HD for 66805@debbugs.gnu.org; Sun, 29 Oct 2023 05:29:39 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-Id:Date:Subject:Cc:To:From; bh=oypb0udxatKrOMJuJHJYVZbcv6D4APcB4XBS1oTAPnQ=; b=ZqEByqI7xHWotvVGO02BTsh9WL Bi2dr4IR+QYLmu7geHCqvrcxorMKB85rReqi0xZ+7G7xrwNdHkzAghuRX1MMfl8pPeg+BtOfTfXG8 BvJRNfaOu/MlJZyY1HHOIaW8VR7pe3pZOzqKe2+POrK3qgdyT38uKP5ytOejHxplw25aY4xzYujok /GZiZY/HFQUSASZYHu1PAKdTD/82E9qXJYusZLjzZm4x81R9U2bKjYWFKh2bhW2UoK5AD9sC7qYLg c54BWw6MsANNNWbTu3mFQE6Y8GXgnK9/UvVzA3o1zzWUcgqymyc3X/Xrut7PNkfBJrEPMBfPC8Lzi RYKKRsWA==; Received: from [10.9.9.73] (helo=submission02.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1qwxQh-00014U-A2 for 66805@debbugs.gnu.org; Sun, 29 Oct 2023 05:29:39 +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 1qwxQN-001dmK-TX; Sun, 29 Oct 2023 05:29:20 +0100 Date: Sun, 29 Oct 2023 00:27:06 -0400 Message-Id: X-Mailer: git-send-email 2.34.1 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-Scanner: mx11.migadu.com X-Spam-Score: -6.21 X-Migadu-Queue-Id: A14D9157A3 X-Migadu-Spam-Score: -6.21 X-TUID: yJi4cIj2lgdJ * gnu/packages/crates-io.scm (rust-git2-0.18): New variable. Signed-off-by: Jaeme Sifat Change-Id: I2623e46c5da798c0793a7ddc48685964eb5d56e1 --- gnu/packages/crates-io.scm | 50 +++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 14 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ab1641279c..95346b3764 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -29165,8 +29165,43 @@ (define-public rust-git-version-macro-0.3 "This is an internal macro crate for git-version.") (license license:bsd-2))) +(define-public rust-git2-0.18 + (package + (name "rust-git2") + (version "0.18.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "git2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1kf0kvg3i7p1223zs2h9fz99ndm0l9kdx3hcw63g73dh5nlppygv")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2) + ("rust-libc" ,rust-libc-0.2) + ("rust-libgit2-sys" ,rust-libgit2-sys-0.16) + ("rust-log" ,rust-log-0.4) + ("rust-openssl-probe" ,rust-openssl-probe-0.1) + ("rust-openssl-sys" ,rust-openssl-sys-0.9) + ("rust-url" ,rust-url-2)) + #:cargo-development-inputs (("rust-structopt" ,rust-structopt-0.3) + ("rust-tempfile" ,rust-tempfile-3) + ("rust-time" ,rust-time-0.1)))) + (native-inputs `(("pkg-config" ,pkg-config) + ("git" ,git-minimal))) ;for a single test + (inputs (list libgit2 libssh2 openssl zlib)) + (home-page "https://github.com/rust-lang/git2-rs") + (synopsis "Rust bindings to libgit2") + (description + "This package provides bindings to libgit2 for interoperating with git +repositories. This library is both threadsafe and memory safe and allows both +reading and writing git repositories.") + (license (list license:expat license:asl2.0)))) + (define-public rust-git2-0.16 (package + (inherit rust-git2-0.18) (name "rust-git2") (version "0.16.1") (source @@ -29177,7 +29212,6 @@ (define-public rust-git2-0.16 (string-append name "-" version ".tar.gz")) (sha256 (base32 "1k1aavsfhk0i9jycc9gb61w2jwy8w9dgkd7zkz295wwm566gdxyc")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -29191,19 +29225,7 @@ (define-public rust-git2-0.16 (("rust-paste" ,rust-paste-1) ("rust-structopt" ,rust-structopt-0.3) ("rust-tempfile" ,rust-tempfile-3) - ("rust-time" ,rust-time-0.1)))) - (native-inputs - `(("pkg-config" ,pkg-config) - ("git" ,git-minimal))) ;for a single test - (inputs - (list libgit2 libssh2 openssl zlib)) - (home-page "https://github.com/rust-lang/git2-rs") - (synopsis "Rust bindings to libgit2") - (description - "This package provides bindings to libgit2 for interoperating with git -repositories. This library is both threadsafe and memory safe and allows both -reading and writing git repositories.") - (license (list license:expat license:asl2.0)))) + ("rust-time" ,rust-time-0.1)))))) (define-public rust-git2-0.15 (package -- 2.34.1