diff options
author | Wilko Meyer <w@wmeyer.eu> | 2024-01-08 02:52:19 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:51 +0200 |
commit | d03246e696ef8235ef3d56a6c96b9340bd59d495 (patch) | |
tree | e7bbb2022ca74c81dd708c8b1f666aa0fe602df1 /gnu/packages | |
parent | 8edad4c8d51aa8043852b96150f532f567455eb3 (diff) |
gnu: Add rust-devise-codegen-0.4.
* gnu/packages/crates-io.scm (rust-devise-codegen-0.4): New variable.
(rust-devise-codegen-0.2): Inherit from rust-devise-0.4.
Change-Id: I2d43453aa9a89160ed3ec3bf97e5e18123ac145a
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 0727298950..47229ffd76 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20696,6 +20696,22 @@ procedural macros.") #:cargo-inputs (("rust-devise-codegen" ,rust-devise-codegen-0.2) ("rust-devise-core" ,rust-devise-core-0.2)))))) + +(define-public rust-devise-codegen-0.4 + (package + (name "rust-devise-codegen") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "devise_codegen" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mpy5mmsigkj5f72gby82yk4advcqj97am2wzn0dwkj8vnwg934w")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-devise-core" ,rust-devise-core-0.4) + ("rust-quote" ,rust-quote-1)))) (home-page "https://github.com/SergioBenitez/Devise") (synopsis "Library for devising derives and other procedural macros") (description @@ -20703,8 +20719,10 @@ procedural macros.") procedural macros.") (license (list license:expat license:asl2.0)))) + (define-public rust-devise-codegen-0.2 (package + (inherit rust-devise-codegen-0.4) (name "rust-devise-codegen") (version "0.2.1") (source @@ -20714,12 +20732,11 @@ procedural macros.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0lxbixni2v6snx2mkgi0kyq5dv8v6c5s57b6wc47q4hqs6884yza")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-devise-core" ,rust-devise-core-0.2) - ("rust-quote" ,rust-quote-0.6)))) + ("rust-quote" ,rust-quote-0.6)))))) (home-page "https://github.com/SergioBenitez/Devise") (synopsis "Library for devising derives and other procedural macros") (description |