From c77515e05437255c313dac32cd8f1b95a9f2bca0 Mon Sep 17 00:00:00 2001 From: Suhail Singh Date: Sun, 4 Aug 2024 12:43:01 -0400 Subject: [PATCH] gnu: Add rust-railroad-0.2. * gnu/packages/crates-io.scm (rust-railroad-0.2): New variable. (rust-railroad-verification-0.1): New variable. Change-Id: If4a5b474cff1e78ff156b56e4192842e1b20155b Signed-off-by: Nicolas Goaziou --- gnu/packages/crates-io.scm | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d80696b8e0..941784fd38 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -60220,6 +60220,53 @@ (define-public rust-radix-trie-0.2 learnt from TrieMap and Sequence Trie.") (license license:expat))) +(define-public rust-railroad-0.2 + (package + (name "rust-railroad") + (version "0.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "railroad" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "08y86hb3vp0i9k9dkz3lbfhrd8x051f6pcg3p87z65ss3shdmzh1")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-htmlescape" ,rust-htmlescape-0.3) + ("rust-unicode-width" ,rust-unicode-width-0.1)) + #:cargo-development-inputs + (("rust-lazy-static" ,rust-lazy-static-1) + ("rust-railroad-verification" ,rust-railroad-verification-0.1)))) + (home-page "https://github.com/lukaslueg/railroad") + (synopsis "library to create syntax-diagrams as Scalable Vector Graphics") + (description + "This package provides a library to create syntax-diagrams as Scalable +Vector Graphics.") + (license license:expat))) + +(define-public rust-railroad-verification-0.1 + (package + (name "rust-railroad-verification") + (version "0.1.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "railroad_verification" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "131qx7xjs06gmna8xvnw6js31y9wmhayaiykssv45qrh3gr7c9dr")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-tempfile" ,rust-tempfile-3)))) + (home-page "https://github.com/lukaslueg/railroad-verification") + (synopsis "Common verification against SVG11-DTD for @code{railroad}") + (description + "This package provides common verification against SVG11-DTD for +@code{railroad}.") + (license license:expat))) + (define-public rust-rand-0.8 (package (name "rust-rand")