diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-12-21 09:37:50 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:56:33 +0200 |
commit | 14a84d3b9a6b7116d0a060ae204e0d598622c9cb (patch) | |
tree | 231efde12e8493defd232645942f846b69cb82f9 | |
parent | 6a679faad3049e374bed6078fd99fd3f74999419 (diff) |
gnu: Add rust-enum-as-inner-0.6.
* gnu/packages/crates-io.scm (rust-enum-as-inner-0.6): New variable.
(rust-enum-as-inner-0.5): Inherit from rust-enum-as-inner-0.6.
Change-Id: Iee619819c9a40ae4a0fbf727a724334b305c72f1
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 25 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 91c1c0844c..18f8e45f4f 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -24644,8 +24644,32 @@ unescapes strings.") from HTML entities.") (license license:expat))) +(define-public rust-enum-as-inner-0.6 + (package + (name "rust-enum-as-inner") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "enum-as-inner" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sjl5z0ycicpxg88qnn57m6sxi3ny9fl7b7vz0pb61bcjsvcpz2z")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) + (home-page "https://github.com/bluejekyll/enum-as-inner") + (synopsis "Proc-macro for deriving inner field accessor functions on enums") + (description "This package provides a proc-macro for deriving inner field +accessor functions on enums.") + (license (list license:expat license:asl2.0)))) + (define-public rust-enum-as-inner-0.5 (package + (inherit rust-enum-as-inner-0.6) (name "rust-enum-as-inner") (version "0.5.1") (source @@ -24655,18 +24679,12 @@ from HTML entities.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "05m1frlkgrikja714zxb97i00rhj36zlifiwiby7ymkx0jx0nwn9")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) ("rust-proc-macro2" ,rust-proc-macro2-1) ("rust-quote" ,rust-quote-1) - ("rust-syn" ,rust-syn-1)))) - (home-page "https://github.com/bluejekyll/enum-as-inner") - (synopsis "Proc-macro for deriving inner field accessor functions on enums") - (description "This package provides a proc-macro for deriving inner field -accessor functions on enums.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-1)))))) (define-public rust-enum-as-inner-0.3 (package |