[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74551] [PATCH rust-team v3 30/73] gnu: Add rust-auto-enums-0.8.
From: |
Aaron Covrig |
Subject: |
[bug#74551] [PATCH rust-team v3 30/73] gnu: Add rust-auto-enums-0.8. |
Date: |
Mon, 2 Dec 2024 22:00:10 -0500 |
From: Jordan Moore <lockbox@struct.foo>
* gnu/packages/crates-io.scm (rust-auto-enums-0.8): New variable.
---
gnu/packages/crates-io.scm | 59 ++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f443857a69..6d42a0e604 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6487,6 +6487,65 @@ (define-public rust-auto-impl-0.5
"Automatically implement traits for common smart pointers and closures.")
(license (list license:expat license:asl2.0))))
+(define-public rust-auto-enums-0.8
+ (package
+ (name "rust-auto-enums")
+ (version "0.8.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "auto_enums" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yxcdw961199wrk1v5js321ynyfd4m40c0gi2pypby2mx2vpg6s5"))
+ (modules '((guix build utils)))
+ (snippet '(begin
+ (substitute* "Cargo.toml"
+ (("\\[features\\]" all)
+ (string-append "[dev-dependencies]" "\n"
+ "macrotest = \"1\"" "\n"
+ "trybuild = \"1\"" "\n"
+ "\n"
+ all)))))))
+ (build-system cargo-build-system)
+ (arguments
+ (list
+ #:cargo-inputs `(("rust-derive-utils" ,rust-derive-utils-0.14)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))
+ #:cargo-development-inputs `(("rust-futures" ,rust-futures-0.1)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-http-body" ,rust-http-body-1)
+ ("rust-macrotest" ,rust-macrotest-1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio" ,rust-tokio-0.1)
+ ("rust-tokio" ,rust-tokio-0.2)
+ ("rust-tokio" ,rust-tokio-0.3)
+ ("rust-trybuild" ,rust-trybuild-1))
+ #:cargo-test-flags '(list "--"
+ ;; Skipping broken tests
+ "--skip=src/lib.rs - (line 547)"
+ "--skip=src/lib.rs - (line 672)"
+ "--skip=src/lib.rs - (line 755)"
+ "--skip=src/lib.rs - (line 818)"
+ "--skip=src/lib.rs - _README (line 1073)")
+ #:phases #~(modify-phases %standard-phases
+ ;; Tests depend on nightly/dev features
+ (add-before 'check 'enable-unstable-features
+ (lambda _
+ (setenv "RUSTC_BOOTSTRAP" "1"))))))
+ (home-page "https://github.com/taiki-e/auto_enums")
+ (synopsis
+ "Library to allow multiple return types by automatically generated enum")
+ (description
+ "This package provides a library to allow multiple return types by
+automatically generated enum.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-auto-impl-0.4
(package
(inherit rust-auto-impl-0.5)
--
2.47.0
- [bug#74551] [PATCH rust-team v3 20/73] gnu: Add rust-winsafe-0.0.19., (continued)
- [bug#74551] [PATCH rust-team v3 20/73] gnu: Add rust-winsafe-0.0.19., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 21/73] gnu: rust-windows-implement: Add v0.56.0., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 22/73] gnu: Add rust-windows-interface-0.56., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 23/73] gnu: Add rust-windows-version-0.1., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 25/73] gnu: rust-windows-core-0.58: Enable building, Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 24/73] gnu: Add rust-windows-core-0.56., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 26/73] gnu: Add rust-windows-0.56., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 27/73] gnu: Add rust-tauri-winrt-notification-0.2., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 28/73] gnu: Add rust-mac-notification-sys-0.6., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 29/73] gnu: Add rust-arraydeque-0.5., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 30/73] gnu: Add rust-auto-enums-0.8.,
Aaron Covrig <=
- [bug#74551] [PATCH rust-team v3 31/73] gnu: Add rust-terminal-size-0.4., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 32/73] gnu: Add rust-unicode-width-0.2., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 33/73] gnu: rust-unicode-width: Bump v0.1 to v0.1.14, Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 34/73] gnu: Add rust-trim-in-place-0.1., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 35/73] gnu: rust-unicode-segmentation-1: Update to 1.12.0., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 36/73] gnu: rust-clap-builder-4: Update to 4.5.21., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 38/73] gnu: rust-clap-complete-4: Update to 4.5.38., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 37/73] gnu: rust-clap-4: Update to 4.5.21., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 39/73] gnu: Add rust-coverage-helper-0.2., Aaron Covrig, 2024/12/02
- [bug#74551] [PATCH rust-team v3 40/73] gnu: Add rust-coverage-helper-0.1., Aaron Covrig, 2024/12/02