diff options
author | Wilko Meyer <w@wmeyer.eu> | 2024-01-08 02:52:20 +0100 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-02-20 13:57:51 +0200 |
commit | f0428b7978b922135e360a0483f4d117543f8908 (patch) | |
tree | 36f0c46646ade9bb3d0cd706dda0a91c59f49610 /gnu/packages/crates-io.scm | |
parent | d03246e696ef8235ef3d56a6c96b9340bd59d495 (diff) | |
download | guix-f0428b7978b922135e360a0483f4d117543f8908.tar.gz |
gnu: Add rust-devise-core-0.4.
* gnu/packages/crates-io.scm (rust-devise-core-0.4): New variable. (rust-devise-core-0.2): Inherit from rust-devise-core-0.4. Change-Id: I11a24863e258bdfa74f165cc7fd276a6ae37b828 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 30 |
1 files changed, 22 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 47229ffd76..bab576747e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -20737,6 +20737,26 @@ procedural macros.") #:cargo-inputs (("rust-devise-core" ,rust-devise-core-0.2) ("rust-quote" ,rust-quote-0.6)))))) + +(define-public rust-devise-core-0.4 + (package + (name "rust-devise-core") + (version "0.4.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "devise_core" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0sp5idq0idng9i5kwjd8slvc724s97r28arrhyqq1jpx1ax0vd9m")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-2) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-proc-macro2-diagnostics" ,rust-proc-macro2-diagnostics-0.10) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-2)))) (home-page "https://github.com/SergioBenitez/Devise") (synopsis "Library for devising derives and other procedural macros") (description @@ -20746,6 +20766,7 @@ procedural macros.") (define-public rust-devise-core-0.2 (package + (inherit rust-devise-core-0.4) (name "rust-devise-core") (version "0.2.1") (source @@ -20755,20 +20776,13 @@ procedural macros.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0wr3jdzzibpafz73hcca83wnzdgjinvm7axmxnyfkbasbnfkw1fi")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) ("rust-proc-macro2" ,rust-proc-macro2-0.4) ("rust-quote" ,rust-quote-0.6) - ("rust-syn" ,rust-syn-0.15)))) - (home-page "https://github.com/SergioBenitez/Devise") - (synopsis "Library for devising derives and other procedural macros") - (description - "This package provides a library for devising derives and other -procedural macros.") - (license (list license:expat license:asl2.0)))) + ("rust-syn" ,rust-syn-0.15)))))) (define-public rust-dhcp4r-0.2 (package |