From 4e3f72076b8f7030af306b8caad9add1e5c6e300 Mon Sep 17 00:00:00 2001 From: Andrew Wong Date: Sun, 5 Jan 2025 18:01:10 -0500 Subject: [PATCH] gnu: Add rust-documented-0.6. * gnu/packages/crates-io.scm (rust-documented-0.6): New variable. Change-Id: I2cb45d5f549102932efa9d231436adb51670eab0 Signed-off-by: Efraim Flashner --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7e7113c568..e7ff3124e3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -21580,6 +21580,30 @@ (define-public rust-document-features-0.2 @code{Cargo.toml}.") (license (list license:expat license:asl2.0)))) +(define-public rust-documented-0.6 + (package + (name "rust-documented") + (version "0.6.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "documented" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1zc7akchjkwnsl0hnzygwad58sfnvrvkcl7w117679cnbg9zxbgy")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-documented-macros" ,rust-documented-macros-0.6) + ("rust-phf" ,rust-phf-0.11) + ("rust-thiserror" ,rust-thiserror-1)))) + (home-page "https://github.com/cyqsimon/documented") + (synopsis + "Derive and attribute macros for accessing your type's documentation at runtime") + (description + "This package provides macros to derive and attribute macros for accessing +your type's documentation at runtime.") + (license license:expat))) + (define-public rust-dogged-0.2 (package (name "rust-dogged")