summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-03 10:23:53 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:10 +0300
commit993c0ae6d2381d5ab0d683749cb5e15c088fa7fa (patch)
treef5363e907bba59635d68a145818f117909dfe9a5
parent7530227ef4580a2b1a342681307558de48376c09 (diff)
gnu: Add rust-as-derive-utils-0.8.
* gnu/packages/crates-io.scm (rust-as-derive-utils-0.8): New variable.
-rw-r--r--gnu/packages/crates-io.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b69960162f..6dabdfc599 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4247,6 +4247,36 @@ the web.")
the abi_stable and structural crates.")
(license (list license:expat license:asl2.0))))
+(define-public rust-as-derive-utils-0.8
+ (package
+ (inherit rust-as-derive-utils-0.10)
+ (name "rust-as-derive-utils")
+ (version "0.8.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "as-derive-utils" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1rjmbasb2spxdmm47kzw2zmr8icbdrcr0wa9kyn7lim5c0idh69b"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (substitute* "Cargo.toml"
+ (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+ (string-append "\"^" version)))))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-aho-corasick" ,rust-aho-corasick-0.7)
+ ("rust-bitflags" ,rust-bitflags-1)
+ ("rust-core-extensions" ,rust-core-extensions-0.1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-ron" ,rust-ron-0.5)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-syn" ,rust-syn-1))))))
+
(define-public rust-askama-escape-0.10
(package
(name "rust-askama-escape")