all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#69624] [PATCH rust-team] gnu: rust-devise: Added v0.3 and building v0.2
@ 2024-03-08  3:21 Aaron Covrig via Guix-patches via
  2024-04-06  0:44 ` [bug#69624] [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9 Aaron Covrig via Guix-patches via
  0 siblings, 1 reply; 10+ messages in thread
From: Aaron Covrig via Guix-patches via @ 2024-03-08  3:21 UTC (permalink / raw)
  To: 69624; +Cc: Aaron Covrig, efraim

* gnu/packages/crates-io.scm (rust-devise): Added v0.3
* gnu/packages/crates-io.scm (rust-devise-codegen): Added v0.3
* gnu/packages/crates-io.scm (rust-devise-core): Added v0.3
* gnu/packages/crates-io.scm (rust-devise): Enabled building v0.2
* gnu/packages/crates-io.scm (rust-devise-codegen): Enabled building v0.2
* gnu/packages/crates-io.scm (rust-devise-core): Enabled building v0.2
* gnu/packages/crates-io.scm (rust-proc-macro2-diagnostics-0.10): Enabled testing
* gnu/packages/crates-io.scm (rust-proc-macro2-diagnostics-0.9): Added for rust-devise
---
 gnu/packages/crates-io.scm | 129 ++++++++++++++++++++++++++++++-------
 1 file changed, 106 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1a08748392..e20adec251 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -18934,10 +18934,26 @@ (define-public rust-devise-0.4
 procedural macros.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-devise-0.2
+(define-public rust-devise-0.3
   (package
     (inherit rust-devise-0.4)
     (name "rust-devise")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "devise" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "15dmibnykic2a1ndi66shyvxmpfysnhf05lg2iv8871g0w5miish"))))
+    (arguments
+     `(#:cargo-inputs (("rust-devise-codegen" ,rust-devise-codegen-0.3)
+                       ("rust-devise-core" ,rust-devise-core-0.3))))))
+
+(define-public rust-devise-0.2
+  (package
+    (inherit rust-devise-0.3)
+    (name "rust-devise")
     (version "0.2.1")
     (source
      (origin
@@ -18947,10 +18963,13 @@ (define-public rust-devise-0.2
        (sha256
         (base32 "09p52f54givb0g9l7clj11z755vldk8758y2lwm5mp3sa156qwfx"))))
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-devise-codegen" ,rust-devise-codegen-0.2)
-        ("rust-devise-core" ,rust-devise-core-0.2))))))
+     `(#:cargo-inputs (("rust-devise-codegen" ,rust-devise-codegen-0.2)
+                       ("rust-devise-core" ,rust-devise-core-0.2))
+       #:phases (modify-phases %standard-phases
+                  ;; Enable using nightly/dev features
+                  (add-after 'unpack 'enable-unstable-features
+                    (lambda _
+                      (setenv "RUSTC_BOOTSTRAP" "1"))))))))
 
 (define-public rust-devise-codegen-0.4
   (package
@@ -18974,10 +18993,25 @@ (define-public rust-devise-codegen-0.4
 procedural macros.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-devise-codegen-0.3
+  (package
+    (inherit rust-devise-codegen-0.4)
+    (name "rust-devise-codegen")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "devise_codegen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1cp7nnfwvjp6wfq11n0ffjjrwfa1wbsb58g1bz3ha6z5lvkp6g0j"))))
+    (arguments
+     `(#:cargo-inputs (("rust-devise-core" ,rust-devise-core-0.3)
+                       ("rust-quote" ,rust-quote-1))))))
 
 (define-public rust-devise-codegen-0.2
   (package
-    (inherit rust-devise-codegen-0.4)
+    (inherit rust-devise-codegen-0.3)
     (name "rust-devise-codegen")
     (version "0.2.1")
     (source
@@ -18988,10 +19022,13 @@ (define-public rust-devise-codegen-0.2
        (sha256
         (base32 "0lxbixni2v6snx2mkgi0kyq5dv8v6c5s57b6wc47q4hqs6884yza"))))
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-devise-core" ,rust-devise-core-0.2)
-        ("rust-quote" ,rust-quote-0.6))))))
+     `(#:cargo-inputs (("rust-devise-core" ,rust-devise-core-0.2)
+                       ("rust-quote" ,rust-quote-0.6))
+       #:phases (modify-phases %standard-phases
+                  ;; Enable using nightly/dev features
+                  (add-after 'unpack 'enable-unstable-features
+                    (lambda _
+                      (setenv "RUSTC_BOOTSTRAP" "1"))))))))
 
 (define-public rust-devise-core-0.4
   (package
@@ -19019,10 +19056,29 @@ (define-public rust-devise-core-0.4
 procedural macros.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-devise-core-0.2
+(define-public rust-devise-core-0.3
   (package
     (inherit rust-devise-core-0.4)
     (name "rust-devise-core")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "devise_core" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1l00qiih4z14ai0c3s16nlvw0kv4p07ygi6a0ms0knc78xpz87l4"))))
+    (arguments
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-proc-macro2-diagnostics" ,rust-proc-macro2-diagnostics-0.9)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))))
+
+(define-public rust-devise-core-0.2
+  (package
+    (inherit rust-devise-core-0.3)
+    (name "rust-devise-core")
     (version "0.2.1")
     (source
      (origin
@@ -19032,12 +19088,15 @@ (define-public rust-devise-core-0.2
        (sha256
         (base32 "0wr3jdzzibpafz73hcca83wnzdgjinvm7axmxnyfkbasbnfkw1fi"))))
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-bitflags" ,rust-bitflags-1)
-        ("rust-proc-macro2" ,rust-proc-macro2-0.4)
-        ("rust-quote" ,rust-quote-0.6)
-        ("rust-syn" ,rust-syn-0.15))))))
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-0.4)
+                       ("rust-quote" ,rust-quote-0.6)
+                       ("rust-syn" ,rust-syn-0.15))
+       #:phases (modify-phases %standard-phases
+                  ;; Enable using nightly/dev features
+                  (add-after 'unpack 'enable-unstable-features
+                    (lambda _
+                      (setenv "RUSTC_BOOTSTRAP" "1"))))))))
 
 (define-public rust-dhcproto-0.9
   (package
@@ -49710,17 +49769,41 @@ (define-public rust-proc-macro2-diagnostics-0.10
         (base32 "1j48ipc80pykvhx6yhndfa774s58ax1h6sm6mlhf09ls76f6l1mg"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f  ; cannot determine resolution for the macro `diagnostic_item`
+     `(#:cargo-test-flags '("--" "--skip=main")
        #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
                        ("rust-quote" ,rust-quote-1)
                        ("rust-syn" ,rust-syn-2)
-                       ("rust-version-check" ,rust-version-check-0.9)
-                       ("rust-yansi" ,rust-yansi-1))
-       #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))
+                       ("rust-yansi" ,rust-yansi-1)
+                       ("rust-version-check" ,rust-version-check-0.9))
+       #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)
+                                   ("rust-version-check" ,rust-version-check-0.9))))
     (home-page "https://github.com/SergioBenitez/proc-macro2-diagnostics")
     (synopsis "Diagnostics for proc-macro2")
-    (description "Diagnostics for proc-macro2.")
-    (license (list license:expat license:asl2.0))))
+    (description "Diagnostics for stable and nightly proc-macros!")
+    (license (list license:asl2.0 license:expat))))
+
+(define-public rust-proc-macro2-diagnostics-0.9
+  (package
+    (inherit rust-proc-macro2-diagnostics-0.10)
+    (name "rust-proc-macro2-diagnostics")
+    (version "0.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "proc-macro2-diagnostics" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1nmazlb1dkznjds7qwms7yxhi33ajc3isji2lsgx8r3lsqk9gwjb"))))
+    (arguments
+     `(#:cargo-test-flags '("--" "--skip=main")
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1)
+                       ("rust-yansi" ,rust-yansi-0.5)
+                       ;; Add missing dependency
+                       ("rust-version-check" ,rust-version-check-0.9))
+       #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)
+                                   ("rust-version-check" ,rust-version-check-0.9))))))
 
 (define-public rust-proc-mounts-0.3
   (package

base-commit: d29e5a83e887cd2f4f459a12cbbfc40c77e55ce2
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#69624] [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9.
  2024-03-08  3:21 [bug#69624] [PATCH rust-team] gnu: rust-devise: Added v0.3 and building v0.2 Aaron Covrig via Guix-patches via
@ 2024-04-06  0:44 ` Aaron Covrig via Guix-patches via
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 2/8] gnu: Enables building rust-proc-macro2-diagnostics-0.10 Aaron Covrig via Guix-patches via
                     ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Aaron Covrig via Guix-patches via @ 2024-04-06  0:44 UTC (permalink / raw)
  To: 69624; +Cc: Aaron Covrig, Efraim Flashner

* gnu/packages/crates-io.scm (rust-proc-macro2-diagnostics-0.9): New variable.

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
 gnu/packages/crates-io.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6494abb3d4..36b5eb5496 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55843,9 +55843,32 @@ (define-public rust-proc-macro2-diagnostics-0.10
        #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))
     (home-page "https://github.com/SergioBenitez/proc-macro2-diagnostics")
     (synopsis "Diagnostics for proc-macro2")
-    (description "Diagnostics for proc-macro2.")
+    (description "Diagnostics for stable and nightly proc-macros!")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-proc-macro2-diagnostics-0.9
+  (package
+    (inherit rust-proc-macro2-diagnostics-0.10)
+    (name "rust-proc-macro2-diagnostics")
+    (version "0.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "proc-macro2-diagnostics" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1nmazlb1dkznjds7qwms7yxhi33ajc3isji2lsgx8r3lsqk9gwjb"))))
+    (arguments
+     `(#:cargo-test-flags '("--" "--skip=main")
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1)
+                       ("rust-yansi" ,rust-yansi-0.5)
+                       ;; Add missing dependency
+                       ("rust-version-check" ,rust-version-check-0.9))
+       #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)
+                                   ("rust-version-check" ,rust-version-check-0.9))))))
+
 (define-public rust-proc-mounts-0.3
   (package
     (name "rust-proc-mounts")

base-commit: f4a90187d16e13af20aa90bb0010b4cddcc15aca
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#69624] [PATCH v2 2/8] gnu: Enables building rust-proc-macro2-diagnostics-0.10.
  2024-04-06  0:44 ` [bug#69624] [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9 Aaron Covrig via Guix-patches via
@ 2024-04-06  0:44   ` Aaron Covrig via Guix-patches via
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 3/8] gnu: Enables building rust-devise-core-0.2 Aaron Covrig via Guix-patches via
                     ` (6 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Aaron Covrig via Guix-patches via @ 2024-04-06  0:44 UTC (permalink / raw)
  To: 69624; +Cc: Aaron Covrig, Efraim Flashner

* gnu/packages/crates-io.scm (rust-proc-macro2-diagnostics-0.10): Enables building

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
 gnu/packages/crates-io.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 36b5eb5496..365d82aef2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55834,13 +55834,14 @@ (define-public rust-proc-macro2-diagnostics-0.10
         (base32 "1j48ipc80pykvhx6yhndfa774s58ax1h6sm6mlhf09ls76f6l1mg"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f  ; cannot determine resolution for the macro `diagnostic_item`
+     `(#:cargo-test-flags '("--" "--skip=main")
        #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
                        ("rust-quote" ,rust-quote-1)
                        ("rust-syn" ,rust-syn-2)
-                       ("rust-version-check" ,rust-version-check-0.9)
-                       ("rust-yansi" ,rust-yansi-1))
-       #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1))))
+                       ("rust-yansi" ,rust-yansi-1)
+                       ("rust-version-check" ,rust-version-check-0.9))
+       #:cargo-development-inputs (("rust-trybuild" ,rust-trybuild-1)
+                                   ("rust-version-check" ,rust-version-check-0.9))))
     (home-page "https://github.com/SergioBenitez/proc-macro2-diagnostics")
     (synopsis "Diagnostics for proc-macro2")
     (description "Diagnostics for stable and nightly proc-macros!")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#69624] [PATCH v2 3/8] gnu: Enables building rust-devise-core-0.2.
  2024-04-06  0:44 ` [bug#69624] [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9 Aaron Covrig via Guix-patches via
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 2/8] gnu: Enables building rust-proc-macro2-diagnostics-0.10 Aaron Covrig via Guix-patches via
@ 2024-04-06  0:44   ` Aaron Covrig via Guix-patches via
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 4/8] gnu: Enables building rust-devise-codegen-0.2 Aaron Covrig via Guix-patches via
                     ` (5 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Aaron Covrig via Guix-patches via @ 2024-04-06  0:44 UTC (permalink / raw)
  To: 69624; +Cc: Aaron Covrig, Efraim Flashner

* gnu/packages/crates-io.scm (rust-devise-core-0.2): Enables building

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
 gnu/packages/crates-io.scm | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 365d82aef2..4558141a22 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20992,12 +20992,15 @@ (define-public rust-devise-core-0.2
        (sha256
         (base32 "0wr3jdzzibpafz73hcca83wnzdgjinvm7axmxnyfkbasbnfkw1fi"))))
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-bitflags" ,rust-bitflags-1)
-        ("rust-proc-macro2" ,rust-proc-macro2-0.4)
-        ("rust-quote" ,rust-quote-0.6)
-        ("rust-syn" ,rust-syn-0.15))))))
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-0.4)
+                       ("rust-quote" ,rust-quote-0.6)
+                       ("rust-syn" ,rust-syn-0.15))
+       #:phases (modify-phases %standard-phases
+                  ;; Enable using nightly/dev features
+                  (add-after 'unpack 'enable-unstable-features
+                    (lambda _
+                      (setenv "RUSTC_BOOTSTRAP" "1"))))))))
 
 (define-public rust-dhcproto-0.9
   (package
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#69624] [PATCH v2 4/8] gnu: Enables building rust-devise-codegen-0.2.
  2024-04-06  0:44 ` [bug#69624] [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9 Aaron Covrig via Guix-patches via
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 2/8] gnu: Enables building rust-proc-macro2-diagnostics-0.10 Aaron Covrig via Guix-patches via
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 3/8] gnu: Enables building rust-devise-core-0.2 Aaron Covrig via Guix-patches via
@ 2024-04-06  0:44   ` Aaron Covrig via Guix-patches via
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 5/8] gnu: Enable building rust-devise-0.2 Aaron Covrig via Guix-patches via
                     ` (4 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Aaron Covrig via Guix-patches via @ 2024-04-06  0:44 UTC (permalink / raw)
  To: 69624; +Cc: Aaron Covrig, Efraim Flashner

* gnu/packages/crates-io.scm (rust-devise-codegen-0.2): Enables building

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
 gnu/packages/crates-io.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4558141a22..c7085af627 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20948,10 +20948,13 @@ (define-public rust-devise-codegen-0.2
        (sha256
         (base32 "0lxbixni2v6snx2mkgi0kyq5dv8v6c5s57b6wc47q4hqs6884yza"))))
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-devise-core" ,rust-devise-core-0.2)
-        ("rust-quote" ,rust-quote-0.6))))))
+     `(#:cargo-inputs (("rust-devise-core" ,rust-devise-core-0.2)
+                       ("rust-quote" ,rust-quote-0.6))
+       #:phases (modify-phases %standard-phases
+                  ;; Enable using nightly/dev features
+                  (add-after 'unpack 'enable-unstable-features
+                    (lambda _
+                      (setenv "RUSTC_BOOTSTRAP" "1"))))))))
 
 (define-public rust-devise-core-0.4
   (package
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#69624] [PATCH v2 5/8] gnu: Enable building rust-devise-0.2.
  2024-04-06  0:44 ` [bug#69624] [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9 Aaron Covrig via Guix-patches via
                     ` (2 preceding siblings ...)
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 4/8] gnu: Enables building rust-devise-codegen-0.2 Aaron Covrig via Guix-patches via
@ 2024-04-06  0:44   ` Aaron Covrig via Guix-patches via
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 6/8] gnu: Add rust-devise-core-0.3 Aaron Covrig via Guix-patches via
                     ` (3 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Aaron Covrig via Guix-patches via @ 2024-04-06  0:44 UTC (permalink / raw)
  To: 69624; +Cc: Aaron Covrig, Efraim Flashner

* gnu/packages/crates-io.scm (rust-devise-0.2): Enable building

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
 gnu/packages/crates-io.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c7085af627..694cac002e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20907,10 +20907,13 @@ (define-public rust-devise-0.2
        (sha256
         (base32 "09p52f54givb0g9l7clj11z755vldk8758y2lwm5mp3sa156qwfx"))))
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-devise-codegen" ,rust-devise-codegen-0.2)
-        ("rust-devise-core" ,rust-devise-core-0.2))))))
+     `(#:cargo-inputs (("rust-devise-codegen" ,rust-devise-codegen-0.2)
+                       ("rust-devise-core" ,rust-devise-core-0.2))
+       #:phases (modify-phases %standard-phases
+                  ;; Enable using nightly/dev features
+                  (add-after 'unpack 'enable-unstable-features
+                    (lambda _
+                      (setenv "RUSTC_BOOTSTRAP" "1"))))))))
 
 (define-public rust-devise-codegen-0.4
   (package
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#69624] [PATCH v2 6/8] gnu: Add rust-devise-core-0.3.
  2024-04-06  0:44 ` [bug#69624] [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9 Aaron Covrig via Guix-patches via
                     ` (3 preceding siblings ...)
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 5/8] gnu: Enable building rust-devise-0.2 Aaron Covrig via Guix-patches via
@ 2024-04-06  0:44   ` Aaron Covrig via Guix-patches via
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 7/8] gnu: Add rust-devise-codegen-0.3 Aaron Covrig via Guix-patches via
                     ` (2 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: Aaron Covrig via Guix-patches via @ 2024-04-06  0:44 UTC (permalink / raw)
  To: 69624; +Cc: Aaron Covrig, Efraim Flashner

* gnu/packages/crates-io.scm (rust-devise-core-0.3): New variable.

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
 1 file changed, 25 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 694cac002e..0d59da7c06 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20972,12 +20972,11 @@ (define-public rust-devise-core-0.4
         (base32 "0sp5idq0idng9i5kwjd8slvc724s97r28arrhyqq1jpx1ax0vd9m"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-bitflags" ,rust-bitflags-2)
-        ("rust-proc-macro2" ,rust-proc-macro2-1)
-        ("rust-proc-macro2-diagnostics" ,rust-proc-macro2-diagnostics-0.10)
-        ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-2))))
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-proc-macro2-diagnostics" ,rust-proc-macro2-diagnostics-0.10)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-2))))
     (home-page "https://github.com/SergioBenitez/Devise")
     (synopsis "Library for devising derives and other procedural macros")
     (description
@@ -20985,10 +20984,29 @@ (define-public rust-devise-core-0.4
 procedural macros.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-devise-core-0.2
+(define-public rust-devise-core-0.3
   (package
     (inherit rust-devise-core-0.4)
     (name "rust-devise-core")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "devise_core" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1l00qiih4z14ai0c3s16nlvw0kv4p07ygi6a0ms0knc78xpz87l4"))))
+    (arguments
+     `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-proc-macro2-diagnostics" ,rust-proc-macro2-diagnostics-0.9)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))))
+
+(define-public rust-devise-core-0.2
+  (package
+    (inherit rust-devise-core-0.3)
+    (name "rust-devise-core")
     (version "0.2.1")
     (source
      (origin
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#69624] [PATCH v2 7/8] gnu: Add rust-devise-codegen-0.3.
  2024-04-06  0:44 ` [bug#69624] [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9 Aaron Covrig via Guix-patches via
                     ` (4 preceding siblings ...)
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 6/8] gnu: Add rust-devise-core-0.3 Aaron Covrig via Guix-patches via
@ 2024-04-06  0:44   ` Aaron Covrig via Guix-patches via
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 8/8] gnu: Add rust-devise-0.3 Aaron Covrig via Guix-patches via
  2024-04-07 12:27   ` bug#69624: [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9 Efraim Flashner
  7 siblings, 0 replies; 10+ messages in thread
From: Aaron Covrig via Guix-patches via @ 2024-04-06  0:44 UTC (permalink / raw)
  To: 69624; +Cc: Aaron Covrig, Efraim Flashner

* gnu/packages/crates-io.scm (rust-devise-codegen-0.3): New variable.

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
 gnu/packages/crates-io.scm | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0d59da7c06..2e1b4433e2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20937,10 +20937,25 @@ (define-public rust-devise-codegen-0.4
 procedural macros.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-devise-codegen-0.3
+  (package
+    (inherit rust-devise-codegen-0.4)
+    (name "rust-devise-codegen")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "devise_codegen" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1cp7nnfwvjp6wfq11n0ffjjrwfa1wbsb58g1bz3ha6z5lvkp6g0j"))))
+    (arguments
+     `(#:cargo-inputs (("rust-devise-core" ,rust-devise-core-0.3)
+                       ("rust-quote" ,rust-quote-1))))))
 
 (define-public rust-devise-codegen-0.2
   (package
-    (inherit rust-devise-codegen-0.4)
+    (inherit rust-devise-codegen-0.3)
     (name "rust-devise-codegen")
     (version "0.2.1")
     (source
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [bug#69624] [PATCH v2 8/8] gnu: Add rust-devise-0.3.
  2024-04-06  0:44 ` [bug#69624] [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9 Aaron Covrig via Guix-patches via
                     ` (5 preceding siblings ...)
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 7/8] gnu: Add rust-devise-codegen-0.3 Aaron Covrig via Guix-patches via
@ 2024-04-06  0:44   ` Aaron Covrig via Guix-patches via
  2024-04-07 12:27   ` bug#69624: [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9 Efraim Flashner
  7 siblings, 0 replies; 10+ messages in thread
From: Aaron Covrig via Guix-patches via @ 2024-04-06  0:44 UTC (permalink / raw)
  To: 69624; +Cc: Aaron Covrig, Efraim Flashner

* gnu/packages/crates-io.scm (rust-devise-0.3): New variable.

Signed-off-by: Aaron Covrig <aaron.covrig.us@ieee.org>
---
 gnu/packages/crates-io.scm | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2e1b4433e2..8bd20ffe01 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -20894,10 +20894,26 @@ (define-public rust-devise-0.4
 procedural macros.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-devise-0.2
+(define-public rust-devise-0.3
   (package
     (inherit rust-devise-0.4)
     (name "rust-devise")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "devise" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "15dmibnykic2a1ndi66shyvxmpfysnhf05lg2iv8871g0w5miish"))))
+    (arguments
+     `(#:cargo-inputs (("rust-devise-codegen" ,rust-devise-codegen-0.3)
+                       ("rust-devise-core" ,rust-devise-core-0.3))))))
+
+(define-public rust-devise-0.2
+  (package
+    (inherit rust-devise-0.3)
+    (name "rust-devise")
     (version "0.2.1")
     (source
      (origin
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 10+ messages in thread

* bug#69624: [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9.
  2024-04-06  0:44 ` [bug#69624] [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9 Aaron Covrig via Guix-patches via
                     ` (6 preceding siblings ...)
  2024-04-06  0:44   ` [bug#69624] [PATCH v2 8/8] gnu: Add rust-devise-0.3 Aaron Covrig via Guix-patches via
@ 2024-04-07 12:27   ` Efraim Flashner
  7 siblings, 0 replies; 10+ messages in thread
From: Efraim Flashner @ 2024-04-07 12:27 UTC (permalink / raw)
  To: Aaron Covrig; +Cc: 69624-done

[-- Attachment #1: Type: text/plain, Size: 238 bytes --]

Thanks. Patches pushed!

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-04-07 12:28 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-08  3:21 [bug#69624] [PATCH rust-team] gnu: rust-devise: Added v0.3 and building v0.2 Aaron Covrig via Guix-patches via
2024-04-06  0:44 ` [bug#69624] [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9 Aaron Covrig via Guix-patches via
2024-04-06  0:44   ` [bug#69624] [PATCH v2 2/8] gnu: Enables building rust-proc-macro2-diagnostics-0.10 Aaron Covrig via Guix-patches via
2024-04-06  0:44   ` [bug#69624] [PATCH v2 3/8] gnu: Enables building rust-devise-core-0.2 Aaron Covrig via Guix-patches via
2024-04-06  0:44   ` [bug#69624] [PATCH v2 4/8] gnu: Enables building rust-devise-codegen-0.2 Aaron Covrig via Guix-patches via
2024-04-06  0:44   ` [bug#69624] [PATCH v2 5/8] gnu: Enable building rust-devise-0.2 Aaron Covrig via Guix-patches via
2024-04-06  0:44   ` [bug#69624] [PATCH v2 6/8] gnu: Add rust-devise-core-0.3 Aaron Covrig via Guix-patches via
2024-04-06  0:44   ` [bug#69624] [PATCH v2 7/8] gnu: Add rust-devise-codegen-0.3 Aaron Covrig via Guix-patches via
2024-04-06  0:44   ` [bug#69624] [PATCH v2 8/8] gnu: Add rust-devise-0.3 Aaron Covrig via Guix-patches via
2024-04-07 12:27   ` bug#69624: [PATCH v2 1/8] gnu: Add rust-proc-macro2-diagnostics-0.9 Efraim Flashner

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.