From 3500cbf8af6e9a2b1fadfa40f333b99f01165967 Mon Sep 17 00:00:00 2001 From: Wilko Meyer Date: Thu, 27 Jul 2023 16:31:10 +0200 Subject: gnu: Add rust-slugify-0.1. * gnu/packages/crates-io.scm (rust-slugify-0.1): New variable. Signed-off-by: Efraim Flashner Change-Id: Ie82b4516eed87ffaf369840f514fa48e70f226ba --- gnu/packages/crates-io.scm | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'gnu/packages/crates-io.scm') diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 81eef5e88e..d8f5d9ebbe 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -69937,6 +69937,25 @@ functions.") Unicode strings.") (license (list license:expat license:asl2.0)))) +(define-public rust-slugify-0.1 + (package + (name "rust-slugify") + (version "0.1.0") + (source (origin + (method url-fetch) + (uri (crate-uri "slugify" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "12xcybjhm7g2rql0n91lgb2j195za58qx3smswqvi2107lhczf6n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-unidecode" ,rust-unidecode-0.3)))) + (home-page "https://github.com/mattgathu/slugify") + (synopsis "Macro for flexible slug generation") + (description "Macro for flexible slug generation.") + (license license:expat))) + (define-public rust-sluice-0.5 (package (name "rust-sluice") @@ -85876,15 +85895,14 @@ GUIs as desktop applications.") "13hb19nfqwjwcqlfj46sjz4j49wd7sj6hbjasimcn5xvnakbbcyv")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t - #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-0.1) + `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-0.1) ("rust-libc" ,rust-libc-0.2) ("rust-memory-units" ,rust-memory-units-0.4) ("rust-spin" ,rust-spin-0.5) ("rust-winapi" ,rust-winapi-0.3)))) (home-page "https://github.com/rustwasm/wee_alloc") (synopsis "wee_alloc: The Wasm-Enabled, Elfin Allocator") - (description "wee_alloc: The Wasm-Enabled, Elfin Allocator") + (description "wee_alloc: The Wasm-Enabled, Elfin Allocator.") (license license:mpl2.0))) (define-public rust-weezl-0.1 -- cgit 1.4.1