diff mbox series

[bug#67919,48/55] gnu: Add rust-find-crate-0.6.

Message ID 185ddbb94de5fc103e5c2f8f50440bf259eed4f3.1703044085.git.jaeme@runbox.com
State New
Headers show
Series gnu: eza: Update to 0.17.0. | expand

Commit Message

Jaeme Sifat Dec. 20, 2023, 3:55 a.m. UTC
* gnu/packages/crates-io.scm (rust-find-crate-0.6): New variable.

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

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 589ef5f655..a051945955 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -26841,6 +26841,31 @@  (define-public rust-field-offset-0.3
 implementation.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-find-crate-0.6
+  (package
+    (name "rust-find-crate")
+    (version "0.6.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "find-crate" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ljpkh11gj7940xwz47xjhsvfbl93c2q0ql7l2v0w77amjx8paar"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-toml" ,rust-toml-0.5))
+       #:cargo-development-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                                   ("rust-quote" ,rust-quote-1)
+                                   ("rust-semver" ,rust-semver-0.11))))
+    (home-page "https://github.com/taiki-e/find-crate")
+    (synopsis
+     "Find the crate name from the current @code{Cargo.toml}")
+    (description
+     "This package provides finding the crate name from the current
+@code{Cargo.toml}.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-findshlibs-0.10
   (package
     (name "rust-findshlibs")