Subject: [bug#47948] [PATCH 49/49] gnu: Add rust-deno-doc.

From: Danny Milosavljevic <[email-masked]>
Date: Thu, 22 Apr 2021 12:22:08 +0200

* gnu/packages/crates-io.scm (rust-deno-doc-0.3): New variable.
---
 gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 897bfcd4a5..7cf09a48ad 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -51485,3 +51485,37 @@ backed applications.
 backed applications.
 ")
     (license license:expat)))
+
+(define-public rust-deno-doc-0.3
+  (package
+    (name "rust-deno-doc")
+    (version "0.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "deno_doc" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "12dmk1v7ybybn6sb2xhiidyx19j9hiig814km88ahk6swd7q5cz1"))))
+    (build-system cargo-build-system)
+    (arguments
+      `(#:cargo-inputs
+        (("rust-futures" ,rust-futures-0.3)
+         ("rust-lazy-static" ,rust-lazy-static-1)
+         ("rust-regex" ,rust-regex-1)
+         ("rust-serde" ,rust-serde-1)
+         ("rust-serde-json" ,rust-serde-json-1)
+         ("rust-swc-common" ,rust-swc-common-0.10)
+         ("rust-swc-ecmascript" ,rust-swc-ecmascript-0.31)
+         ("rust-termcolor" ,rust-termcolor-1))
+        #:cargo-development-inputs
+        (("rust-clap" ,rust-clap-2)
+         ("rust-tokio" ,rust-tokio-1)
+         ("rust-url" ,rust-url-2))))
+    (home-page "https://github.com/denoland/deno_doc")
+    (synopsis "Documentation generator for Javascript and Typescript")
+    (description "This package provides a Rust crate to generate documentation
+for JavaScript and TypeScript modules.")
+    (license license:expat)))
-- 
2.29.2