@@ -50367,3 +50367,34 @@ configuration file and/or environment variables.")
(description
"Macros for EqIgnoreSpan and TypeEq.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-from-variant-0.1
+ (package
+ (name "rust-from-variant")
+ (version "0.1.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "from_variant" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gf6gh6b9b01f7j0gwv3km1k6lily3banx47izlpniya4x866l89"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-pmutil" ,rust-pmutil-0.5)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-swc-macros-common"
+ ,rust-swc-macros-common-0.3)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page
+ "https://github.com/swc-project/swc.git")
+ (synopsis
+ "Automatically derive From impls for enums")
+ (description
+ "Automatically derive From impls for enums")
+ (license (list license:asl2.0 license:expat))))