diff mbox series

[bug#69257,rust-team,v3,45/75] gnu: Add rust-secular-1.

Message ID c9349e02da6414020e337a559f9b123545332237.1714820130.git.herman@rimm.ee
State New
Headers show
Series Finish packages. | expand

Commit Message

Herman Rimm May 4, 2024, 11:35 a.m. UTC
* gnu/packages/crates-io.scm (rust-secular-1): Add variable.

Change-Id: Ib49ca74f9f4e3c73b7554bbc7dc4b30bad103dd9
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8731452fb3..39486a2ec5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -70254,6 +70254,28 @@  (define-public rust-section-testing-0.0
      "This package provides a library for section-style testing.")
     (license license:expat)))
 
+(define-public rust-secular-1
+  (package
+    (name "rust-secular")
+    (version "1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "secular" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1davw8k29sycm7f4674d4m44jfa7pn812jm3m3mm76srvz63xp63"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--release" "--all-targets")
+       #:cargo-inputs
+       (("rust-unicode-normalization" ,rust-unicode-normalization-0.1))))
+    (home-page "")
+    (synopsis "No Diacritics!")
+    (description
+      "This package provides diacritics removal on (ascii) chars.")
+    (license license:expat)))
+
 (define-public rust-selectors-0.24
   (package
     (name "rust-selectors")