guix-commits
[Top][All Lists]
Advanced

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

46/135: gnu: Add rust-heck-0.5.


From: guix-commits
Subject: 46/135: gnu: Add rust-heck-0.5.
Date: Wed, 27 Mar 2024 04:54:51 -0400 (EDT)

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

commit 83549ff63266dfc8c98eb2ad7995cd2f26730988
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Mar 26 15:31:30 2024 +0200

    gnu: Add rust-heck-0.5.
    
    * gnu/packages/crates-io.scm (rust-heck-0.5): New variable.
    (rust-heck-0.4): Inherit from rust-heck-0.5.
    
    Change-Id: I579c258166a5507c7844912ab412eea7b5df18b4
---
 gnu/packages/crates-io.scm | 28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 682a76622b..e59efb25e2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30405,29 +30405,41 @@ heap.")
 total runtime size of an object on the heap")
     (license license:mpl2.0)))
 
-(define-public rust-heck-0.4
+(define-public rust-heck-0.5
   (package
     (name "rust-heck")
-    (version "0.4.1")
+    (version "0.5.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "heck" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1a7mqsnycv5z4z5vnv1k34548jzmc0ajic7c1j8jsaspnhw5ql4m"))))
+        (base32 "1sjmpsdl8czyh9ywl3qcsfsq9a307dg4ni2vnlwgnzzqhc4y0113"))))
     (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))
     (home-page "https://github.com/withoutboats/heck";)
     (synopsis "Case conversion library")
     (description
      "This library exists to provide case conversion between common cases like
 CamelCase and snake_case.  It is intended to be unicode aware, internally
 consistent, and reasonably well performing.")
-    (license (list license:asl2.0
-                   license:expat))))
+    (license (list license:expat license:asl2.0))))
+
+(define-public rust-heck-0.4
+  (package
+    (inherit rust-heck-0.5)
+    (name "rust-heck")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "heck" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1a7mqsnycv5z4z5vnv1k34548jzmc0ajic7c1j8jsaspnhw5ql4m"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))))
 
 (define-public rust-heck-0.3
   (package



reply via email to

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