Subject: [bug#50367] [PATCH 18/22] gnu: Add rust-starship-module-config-derive-0.2.

From: phodina <[email-masked]>
Date: Sat, 04 Sep 2021 07:41:46 +0000

* gnu/packages/crates-io.scm (rust-starship-module-config-derive-0.2): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 230efecf65..b6da0302ef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46025,6 +46025,38 @@ deeply recursive algorithms that may accidentally blow the stack.")
     (description "New standard library, old compiler.")
     (license (list license:expat license:asl2.0))))

+(define-public rust-starship-module-config-derive-0.2
+  (package
+    (name "rust-starship-module-config-derive")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri
+             "starship_module_config_derive"
+             version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "09327jvaf2b4xwg0s8l3afrrg140illa0ff6wkwfi4i8pl7dpacp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build?
+       #t
+       #:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://starship.rs")
+    (synopsis
+     "The minimal, blazing-fast, and infinitely customizable prompt for any
+shell!")
+    (description
+     "The minimal, blazing-fast, and infinitely customizable prompt for any
+shell!")
+    (license license:isc)))
+
 (define-public rust-state-0.4
   (package
     (name "rust-state")
--
2.32.0