From 8138e78ab73773ef3774ea2b77e6910b2b32256e Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 31 Mar 2024 14:58:03 +0300 Subject: [PATCH] gnu: Add rust-alphanumeric-sort-1. * gnu/packages/crates-io.scm (rust-alphanumeric-sort-1): New variable. Change-Id: Ic28b9b9e5d9f4ef70b8be70a7fce49005ecb7b07 --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cb28508ffe..a3d430d734 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1237,6 +1237,27 @@ (define-public rust-allocator-api2-0.2 (description "Mirror of Rust's allocator API.") (license (list license:expat license:asl2.0)))) +(define-public rust-alphanumeric-sort-1 + (package + (name "rust-alphanumeric-sort") + (version "1.5.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "alphanumeric-sort" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "13vyx3cqpylvc0md4563rd42b7dvk3fv4wny0kpcc48gy72n0z6n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1)))) + (home-page "https://magiclen.org/alphanumeric-sort") + (synopsis "Sort order for files and folders whose names contain numerals") + (description + "This crate can help you sort order for files and folders whose names +contain numerals.") + (license license:expat))) + (define-public rust-alsa-0.8 (package (name "rust-alsa")