all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Aaron Covrig via Guix-patches via <guix-patches@gnu.org>
To: 69620@debbugs.gnu.org
Cc: Aaron Covrig <aaron.covrig.us@ieee.org>
Subject: [bug#69620] [rust-team v3 6/9] gnu: Bumps rust-rocket-codegen-0.4 to 0.4.11
Date: Sun, 24 Mar 2024 11:19:58 -0400	[thread overview]
Message-ID: <20240324152001.148236-8-aaron.covrig.us@ieee.org> (raw)
In-Reply-To: <20240324152001.148236-2-aaron.covrig.us@ieee.org>

* gnu/packages/crates-web.scm (rust-rocket-codegen-0.4): Bumps to 0.4.11
  and enables building
---
 gnu/packages/crates-web.scm | 37 +++++++++++++++++++++++++------------
 1 file changed, 25 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index d1cc9768de..e105ddae66 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -4698,24 +4698,37 @@ (define-public rust-rocket-codegen-0.4
   (package
     (inherit rust-rocket-codegen-0.5)
     (name "rust-rocket-codegen")
-    (version "0.4.7")
+    (version "0.4.11")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "rocket_codegen" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "18s2dll8c4sd26s8cfr6cizj5z55xwnk6r6x7b2wvcf8n9ajrb6f"))))
-    (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-devise" ,rust-devise-0.2)
-        ("rust-glob" ,rust-glob-0.3)
-        ("rust-indexmap" ,rust-indexmap-1)
-        ("rust-quote" ,rust-quote-0.6)
-        ("rust-rocket-http" ,rust-rocket-http-0.4)
-        ("rust-version-check" ,rust-version-check-0.9)
-        ("rust-yansi" ,rust-yansi-0.5))))))
+        (base32 "1zl4f99s4df8fpkps53qn77030baww4x7zflggwql290b1xh6418"))
+       (modules '((guix build utils)))
+       (snippet '(begin
+                   (substitute* "build.rs"
+                     ;; enable nightly/dev in build.rs for RUSTC_BOOTSTRAP build
+                     (("if !channel.supports_features")
+                      "/* if !channel.supports_features")
+                     (("if !version.at_least")
+                      "*/ \nif !version.at_least"))))))
+    (arguments
+     `(#:tests? #f ;Tests depend on multiple undeclared crates
+       #:cargo-inputs (("rust-devise" ,rust-devise-0.2)
+                       ("rust-glob" ,rust-glob-0.3)
+                       ("rust-indexmap" ,rust-indexmap-1)
+                       ("rust-quote" ,rust-quote-0.6)
+                       ("rust-rocket-http" ,rust-rocket-http-0.4))
+       #:cargo-development-inputs (("rust-version-check" ,rust-version-check-0.9)
+                                   ("rust-yansi" ,rust-yansi-0.5)
+                                   ("rust-rocket" ,rust-rocket-0.4)) ;For tests
+       #:phases (modify-phases %standard-phases
+                  ;; Enable using nightly/dev features
+                  (add-after 'unpack 'enable-unstable-features
+                    (lambda _
+                      (setenv "RUSTC_BOOTSTRAP" "1"))))))))
 
 (define-public rust-rocket-http-0.5
   (package
-- 
2.41.0





  parent reply	other threads:[~2024-03-24 17:25 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-08  2:08 [bug#69620] [PATCH rust-team 0/2] Upgrading rust-rocket and rust-pear Aaron Covrig via Guix-patches via
2024-03-08  2:14 ` [bug#69620] [PATCH rust-team 1/2] gnu: rust-pear: Added version 0.2.8 with deps Aaron Covrig via Guix-patches via
2024-03-08  2:14   ` [bug#69620] [PATCH rust-team 2/2] gnu: rust-rocket: Upgraded and enabled full build Aaron Covrig via Guix-patches via
2024-03-08  2:37 ` [bug#69620] [PATCH rust-team v2 0/2] Update Aaron Covrig via Guix-patches via
2024-03-08  2:37   ` [bug#69620] [PATCH rust-team v2 1/2] gnu: rust-pear: Added version 0.2.8 with deps Aaron Covrig via Guix-patches via
2024-03-08  2:37   ` [bug#69620] [PATCH rust-team v2 2/2] gnu: rust-rocket: Upgraded and enabled full build Aaron Covrig via Guix-patches via
2024-03-24 15:19 ` [bug#69620] [rust-team v3 0/9] Enables building of rust-rocket Aaron Covrig via Guix-patches via
2024-03-24 15:19   ` [bug#69620] [rust-team v3 1/9] gnu: Add rust-inlinable-string-0.1 Aaron Covrig via Guix-patches via
2024-03-24 15:19   ` [bug#69620] [rust-team v3 2/9] gnu: Enables rust-pear-codegen-0.2 tests Aaron Covrig via Guix-patches via
2024-03-24 15:19   ` [bug#69620] [rust-team v3 3/9] gnu: Enables building rust-pear-codegen-0.1 Aaron Covrig via Guix-patches via
2024-03-24 15:19   ` [bug#69620] [rust-team v3 4/9] gnu: Enables building rust-pear-0.1 Aaron Covrig via Guix-patches via
2024-03-24 15:19   ` [bug#69620] [rust-team v3 5/9] gnu: Bumps rust-hyper-sync-rustls to 0.3.0-rc.17 Aaron Covrig via Guix-patches via
2024-03-24 15:19   ` Aaron Covrig via Guix-patches via [this message]
2024-03-24 15:19   ` [bug#69620] [rust-team v3 7/9] gnu: Bumps rust-rocket-http-0.4 to 0.4.11 Aaron Covrig via Guix-patches via
2024-03-24 15:20   ` [bug#69620] [rust-team v3 8/9] gnu: Bumps rust-rocket-0.4 " Aaron Covrig via Guix-patches via
2024-03-24 15:20   ` [bug#69620] [rust-team v3 9/9] gnu: Bumps rust-pear to v0.2.9 Aaron Covrig via Guix-patches via
2024-10-04 18:27 ` [bug#69620] [PATCH rust-team v4 1/5] gnu: rust-is-terminal-0.4: Update to 0.4.13 Aaron Covrig via Guix-patches via
2024-10-04 18:27   ` [bug#69620] [PATCH rust-team v4 2/5] gnu: rust-yansi: Update to 1.0.1 Aaron Covrig via Guix-patches via
2024-10-04 18:27   ` [bug#69620] [PATCH rust-team v4 3/5] gnu: rust-pear: Update to 0.2.9 Aaron Covrig via Guix-patches via
2024-10-04 18:27   ` [bug#69620] [PATCH rust-team v4 4/5] gnu: rust-rocket: Update to 0.5.1 Aaron Covrig via Guix-patches via
2024-10-04 18:27   ` [bug#69620] [PATCH rust-team v4 5/5] gnu: rust-rocket and rust-pear: Enable building Aaron Covrig via Guix-patches via

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240324152001.148236-8-aaron.covrig.us@ieee.org \
    --to=guix-patches@gnu.org \
    --cc=69620@debbugs.gnu.org \
    --cc=aaron.covrig.us@ieee.org \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.