From: Andrew Wong via Guix-patches via <guix-patches@gnu.org>
To: 75391@debbugs.gnu.org
Cc: Andrew Wong <wongandj@icloud.com>,
Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#75391] [PATCH 04/12] gnu: Add rust-vergen-git2-1.
Date: Sun, 5 Jan 2025 18:01:07 -0500 [thread overview]
Message-ID: <95ca065ebd2deac002e0bc6b26d10a2f4b7dc325.1736117349.git.wongandj@icloud.com> (raw)
In-Reply-To: <cover.1736117349.git.wongandj@icloud.com>
* gnu/packages/crates-io.scm (rust-vergen-git2-1): New variable.
Change-Id: Ic70fc7f6e1062e54c70554f67033bac7909322d4
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d32eed0b66..9e04e17965 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -89660,6 +89660,35 @@ (define-public rust-vergen-3
#:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
("rust-regex" ,rust-regex-1))))))
+(define-public rust-vergen-git2-1
+ (package
+ (name "rust-vergen-git2")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "vergen-git2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1mri3bffr6578cigqrpcn8b0bfcgkvbskdxswg8ym7vlv1ly0qsy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-derive-builder" ,rust-derive-builder-0.20)
+ ("rust-git2" ,rust-git2-0.19)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-vergen" ,rust-vergen-9)
+ ("rust-vergen-lib" ,rust-vergen-lib-0.1))))
+ (home-page "https://github.com/rustyhorde/vergen")
+ (synopsis
+ "Generate 'cargo:rustc-env' instructions via 'build.rs' for use in your code via the 'env!' macro")
+ (description
+ "This package provides Generate cargo:rustc-env instructions via build.rs for use in your code via the
+env! macro.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-vergen-lib-0.1
(package
(name "rust-vergen-lib")
--
2.47.1
next prev parent reply other threads:[~2025-01-05 23:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-05 22:49 [bug#75391] [PATCH rust-team 00/12] gnu: Add wallust Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 01/12] " Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 02/12] gnu: Add rust-vergen-9 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 03/12] gnu: Add rust-vergen-lib-0.1 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` Andrew Wong via Guix-patches via [this message]
2025-01-05 23:01 ` [bug#75391] [PATCH 05/12] gnu: Add rust-fast-image-resize-5 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 06/12] gnu: Add rust-kmeans-colors-0.6 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 07/12] gnu: Add rust-documented-0.6 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 08/12] gnu: Add rust-documented-macros-0.6 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 09/12] gnu: Add rust-new-string-template-1 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 10/12] gnu: Add rust-optfield-0.3 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 11/12] gnu: rust-owo-colors-4: Update to 4.1.0 Andrew Wong via Guix-patches via
2025-01-05 23:01 ` [bug#75391] [PATCH 12/12] gnu: Add rust-spinners-4 Andrew Wong via Guix-patches via
2025-01-07 8:25 ` bug#75391: [PATCH rust-team 00/12] gnu: Add wallust Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=95ca065ebd2deac002e0bc6b26d10a2f4b7dc325.1736117349.git.wongandj@icloud.com \
--to=guix-patches@gnu.org \
--cc=75391@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
--cc=wongandj@icloud.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).