diff mbox series

[bug#72467,3/7] gnu: Add rust-railroad-0.2.

Message ID d4c0206abd45e54a006e29004f240ee522219ebe.1722777393.git.suhail@bayesians.ca
State New
Headers show
Series Add complgen. | expand

Commit Message

Suhail Singh Aug. 4, 2024, 4:43 p.m. UTC
* gnu/packages/crates-io.scm (rust-railroad-0.2): New variable.
(rust-railroad-verification-0.1): New variable.

Change-Id: If4a5b474cff1e78ff156b56e4192842e1b20155b
---
 gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d1bd708f64..2007a1586a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60079,6 +60079,51 @@  (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
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/lukaslueg/railroad-verification")
+    (synopsis "Common verification against SVG11-DTD for `railroad`")
+    (description
+     "This package provides Common verification against SVG11-DTD for `railroad`.")
+    (license license:expat)))
+
 (define-public rust-rand-0.8
   (package
     (name "rust-rand")