guix-commits
[Top][All Lists]
Advanced

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

224/330: gnu: Add rust-path-clean-1.


From: guix-commits
Subject: 224/330: gnu: Add rust-path-clean-1.
Date: Mon, 18 Mar 2024 07:16:20 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 2355cdbfb7bd62f1ec090f8973f0724773f860a2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Mar 17 14:30:21 2024 +0200

    gnu: Add rust-path-clean-1.
    
    * gnu/packages/crates-io.scm (rust-path-clean-1): New variable.
    (rust-path-clean-0.1): Inherit from rust-path-clean-1.
    
    Change-Id: I2add9d32861b6ac62773ca3350084187e968f41f
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d1c0b46a50..65bf6e07a4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48156,25 +48156,41 @@ Format (MCF).")
 Rust with reasonable performance.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-path-clean-0.1
+(define-public rust-path-clean-1
   (package
     (name "rust-path-clean")
-    (version "0.1.0")
+    (version "1.0.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "path-clean" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "1pcgqxw0mgg3ha5hi5xkjhyjf488bw5rw1g3qlr9awbq4szh3fpc"))))
+        (base32 "1vzwcrlz39rd94l89rppvkbsn7dvng449f1bnkyk3ayp43y9ld8p"))))
     (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.2))))
     (home-page "https://github.com/danreeves/path-clean";)
     (synopsis "Rust implementation of cleanname or path.Clean")
     (description "This package provides a Rust implementation of cleanname or
 path.Clean.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-path-clean-0.1
+  (package
+    (inherit rust-path-clean-1)
+    (name "rust-path-clean")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "path-clean" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1pcgqxw0mgg3ha5hi5xkjhyjf488bw5rw1g3qlr9awbq4szh3fpc"))))
+    (arguments '())))
+
 (define-public rust-path-slash-0.2
   (package
     (name "rust-path-slash")



reply via email to

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