guix-commits
[Top][All Lists]
Advanced

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

171/272: gnu: Add rust-stringprep-0.1.


From: guix-commits
Subject: 171/272: gnu: Add rust-stringprep-0.1.
Date: Sat, 13 Feb 2021 05:54:49 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit f9dd9d946d188da3c403573e989579ada16e2e49
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Feb 10 17:29:11 2021 +0100

    gnu: Add rust-stringprep-0.1.
    
    * gnu/packages/crates-io.scm (rust-stringprep-0.1): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8afcb68..3d7ad70 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37971,6 +37971,30 @@ developed as part of the Servo project.")
      "Code share between string_cache and string_cache_codegen.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-stringprep-0.1
+  (package
+    (name "rust-stringprep")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "stringprep" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1hd1x7s8fnzqwz5fm2pq0jh10n024zvwnldmykzm8x5qfk5liqwf"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-unicode-bidi" ,rust-unicode-bidi-0.3)
+        ("rust-unicode-normalization" ,rust-unicode-normalization-0.1))))
+    (home-page "https://github.com/sfackler/rust-stringprep";)
+    (synopsis "Implementation of the ``stringprep'' algorithm")
+    (description
+     "This package provides an implementation of the ``stringprep'' algorithm
+as defined in RFC 3454.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-strip-ansi-escapes-0.1
   (package
     (name "rust-strip-ansi-escapes")



reply via email to

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