From f0428b7978b922135e360a0483f4d117543f8908 Mon Sep 17 00:00:00 2001 From: Wilko Meyer Date: Mon, 8 Jan 2024 02:52:20 +0100 Subject: 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 --- gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'gnu/packages/crates-io.scm') 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 -- cgit 1.4.1