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 <mail@nicolasgoaziou.fr>
This commit is contained in:
Suhail Singh 2024-08-04 12:43:01 -04:00 committed by Nicolas Goaziou
parent 3b5a69a41d
commit c77515e054
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -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")