guix-commits
[Top][All Lists]
Advanced

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

49/330: gnu: Add rust-litrs-0.4.


From: guix-commits
Subject: 49/330: gnu: Add rust-litrs-0.4.
Date: Mon, 18 Mar 2024 07:15:07 -0400 (EDT)

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

commit 9481762575a4fd56b4c6b33595b0722aa7e3cc37
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 12:28:36 2024 +0200

    gnu: Add rust-litrs-0.4.
    
    * gnu/packages/crates-io.scm (rust-litrs-0.4): New variable.
    (rust-litrs-0.2): Inherit from rust-litrs-0.4.
    
    Change-Id: I42fd97c9bb6886013c5d44c7de8c5ab152c6a3a9
---
 gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++---------
 1 file changed, 25 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 03568ae5f8..f5df7df0a8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35473,19 +35473,21 @@ harness used by @code{rustc --test}.")
         ("rust-structopt" ,rust-structopt-0.3)
         ("rust-termcolor" ,rust-termcolor-1))))))
 
-(define-public rust-litrs-0.2
+(define-public rust-litrs-0.4
   (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"))))
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "litrs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19cssch9gc0x2snd9089nvwzz79zx6nzsi3icffpx25p4hck1kml"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1))))
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-unicode-xid" ,rust-unicode-xid-0.2))))
     (home-page "https://github.com/LukasKalbertodt/litrs/";)
     (synopsis "Parse and inspect Rust literals")
     (description
@@ -35494,6 +35496,20 @@ 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-litrs-0.2
+  (package
+    (inherit rust-litrs-0.4)
+    (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"))))
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1))))))
+
 (define-public rust-llvm-bitcode-0.1
   (package
     (name "rust-llvm-bitcode")



reply via email to

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