guix-commits
[Top][All Lists]
Advanced

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

02/54: gnu: Add rust-dispatch-0.2.


From: guix-commits
Subject: 02/54: gnu: Add rust-dispatch-0.2.
Date: Sun, 31 Jan 2021 03:52:12 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 91d3daa67ac033fe76eb57f09f69babfde5bfc41
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Jan 29 23:05:09 2021 +0100

    gnu: Add rust-dispatch-0.2.
    
    * gnu/packages/crates-io.scm (rust-dispatch-0.2): New variable.
    (rust-dispatch-0.1): Inherit from above.
---
 gnu/packages/crates-io.scm | 28 +++++++++++++++++++++-------
 1 file changed, 21 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 978448e..288f214 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9687,27 +9687,41 @@ memory but not other memory.  This package provides a 
discard trait which allows
 for intentionally leaking memory")
     (license license:expat)))
 
-(define-public rust-dispatch-0.1
+(define-public rust-dispatch-0.2
   (package
     (name "rust-dispatch")
-    (version "0.1.4")
+    (version "0.2.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "dispatch" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "019nzy993hxaiazcdnayx3csv2iki34i535asw11ki96hakkrs84"))))
+        (base32 "0fwjr9b7582ic5689zxj8lf7zl94iklhlns3yivrnv8c9fxr635x"))))
     (build-system cargo-build-system)
-    (arguments '(#:tests? #f))  ; Tests only run on Mac.
+    (arguments `(#:skip-build? #t))
     (home-page "https://github.com/SSheldon/rust-dispatch";)
     (synopsis "Rust wrapper for Apple's Grand Central Dispatch")
     (description "This package provides a Rust wrapper for Apple's Grand
 Central Dispatch.")
     (license license:expat)))
 
+(define-public rust-dispatch-0.1
+  (package
+    (inherit rust-dispatch-0.2)
+    (name "rust-dispatch")
+    (version "0.1.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "dispatch" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "019nzy993hxaiazcdnayx3csv2iki34i535asw11ki96hakkrs84"))))
+    (arguments '(#:tests? #f))))  ; Tests only run on Mac.
+
 (define-public rust-dissimilar-1.0
   (package
     (name "rust-dissimilar")



reply via email to

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