@@ -51183,3 +51183,33 @@ configuration file and/or environment variables.")
(synopsis "Atoms for the swc project.")
(description "Atoms for the swc project.")
(license (list license:asl2.0 license:expat))))
+
+(define-public rust-string-enum-0.3
+ (package
+ (name "rust-string-enum")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "string_enum" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "07w7n805fpqv0x0z531pws7hvhwlm9208yw2pzb1ypwy3s4cr17m"))))
+ (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-quote" ,rust-quote-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 "String based enum.")
+ (description "String based enum.")
+ (license (list license:asl2.0 license:expat))))