guix-commits
[Top][All Lists]
Advanced

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

10/21: gnu: Add rust-pathdiff-0.2.


From: guix-commits
Subject: 10/21: gnu: Add rust-pathdiff-0.2.
Date: Wed, 22 Sep 2021 10:59:13 -0400 (EDT)

ngz pushed a commit to branch master
in repository guix.

commit ccfc03b17eabc51cac46ea5e0dd7fcd3d522e9b0
Author: phodina <phodina@protonmail.com>
AuthorDate: Sat Sep 4 07:35:14 2021 +0000

    gnu: Add rust-pathdiff-0.2.
    
    * gnu/packages/crates-io.scm (rust-pathdiff-0.2): New variable.
    (rust-pathdiff-0.1): Inherit from above.
    
    Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
 gnu/packages/crates-io.scm | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e19a228..d437c98 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -32839,10 +32839,10 @@ Rust with reasonable performance.")
 path.Clean.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-pathdiff-0.1
+(define-public rust-pathdiff-0.2
   (package
     (name "rust-pathdiff")
-    (version "0.1.0")
+    (version "0.2.0")
     (source
      (origin
        (method url-fetch)
@@ -32851,8 +32851,9 @@ path.Clean.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0cfg3isnx6mf3wbi7rsg4nmvywby40sbcs589n20fgi09l4p1gx3"))))
+         "0d2aqgrqhdn5kxlnd5dxv7d6pgsgf92r6r9gqm6bdh0mvsrk0xl7"))))
     (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
     (home-page "https://github.com/Manishearth/pathdiff";)
     (synopsis "Library for diffing paths to obtain relative paths")
     (description
@@ -32860,6 +32861,21 @@ path.Clean.")
 directory path to the provided path.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-pathdiff-0.1
+  (package
+    (inherit rust-pathdiff-0.2)
+    (name "rust-pathdiff")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pathdiff" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0cfg3isnx6mf3wbi7rsg4nmvywby40sbcs589n20fgi09l4p1gx3"))))))
+
 (define-public rust-pbkdf2-0.4
   (package
     (name "rust-pbkdf2")



reply via email to

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