guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

245/470: gnu: Add rust-litrs-0.2.


From: guix-commits
Subject: 245/470: gnu: Add rust-litrs-0.2.
Date: Thu, 16 Mar 2023 03:01:19 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 52d987adc8b5bc2ac1877ab32dc15652520819e7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 12:17:27 2023 +0200

    gnu: Add rust-litrs-0.2.
    
    * gnu/packages/crates-io.scm (rust-litrs-0.2): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d28999258d..77f3efe067 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31990,6 +31990,27 @@ harness used by @code{rustc --test}.")
         ("rust-structopt" ,rust-structopt-0.3)
         ("rust-termcolor" ,rust-termcolor-1))))))
 
+(define-public rust-litrs-0.2
+  (package
+    (name "rust-litrs")
+    (version "0.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "litrs" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32 
"1akrxglqv6dz41jrjr409pjjysd00z5w0949007v52yg6c4mw9zr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1))))
+    (home-page "https://github.com/LukasKalbertodt/litrs/";)
+    (synopsis "Parse and inspect Rust literals")
+    (description
+     "Parse and inspect Rust literals (i.e. tokens in the Rust programming
+language representing fixed values).  Particularly useful for proc macros, but
+can also be used outside of a proc-macro context.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-locale-0.2
   (package
     (name "rust-locale")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]