[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/05: gnu: Add rust-heck-0.3.
From: |
guix-commits |
Subject: |
03/05: gnu: Add rust-heck-0.3. |
Date: |
Tue, 21 Jan 2020 10:38:56 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit a8a5cc6841c1b45f58303eb0f7d97e4b7e1d49c8
Author: Efraim Flashner <address@hidden>
AuthorDate: Tue Jan 21 17:24:31 2020 +0200
gnu: Add rust-heck-0.3.
* gnu/packages/crates-io.scm (rust-heck-0.3): New variable.
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d40b50c..831c495 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4674,6 +4674,32 @@ heap.")
total runtime size of an object on the heap")
(license license:mpl2.0)))
+(define-public rust-heck-0.3
+ (package
+ (name "rust-heck")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "heck" version))
+ (file-name (string-append name "-" version ".crate"))
+ (sha256
+ (base32
+ "01a2v7yvkiqxakdqz4hw3w3g4sm52ivz9cs3qcsv2arxsmw4wmi0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-unicode-segmentation" ,rust-unicode-segmentation-1.3))))
+ (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))))
+
(define-public rust-hex-0.4
(package
(name "rust-hex")