guix-commits
[Top][All Lists]
Advanced

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

05/23: gnu: rust-dispatch: Move to (gnu packages crates-apple).


From: guix-commits
Subject: 05/23: gnu: rust-dispatch: Move to (gnu packages crates-apple).
Date: Thu, 4 Jan 2024 15:39:01 -0500 (EST)

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

commit c018e8add1a08faa157a4a2050edf881834cdea7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Jan 4 20:28:25 2024 +0200

    gnu: rust-dispatch: Move to (gnu packages crates-apple).
    
    * gnu/packages/crates-io.scm (rust-dispatch-0.2, rust-dispatch-0.1):
    Move from here ...
    * gnu/packages/crates-apple.scm: ... to here.
    
    Change-Id: Ia7452e335031b66d14359f2ef9236fd210685506
---
 gnu/packages/crates-apple.scm | 35 +++++++++++++++++++++++++++++++++++
 gnu/packages/crates-io.scm    | 35 -----------------------------------
 2 files changed, 35 insertions(+), 35 deletions(-)

diff --git a/gnu/packages/crates-apple.scm b/gnu/packages/crates-apple.scm
index 7e4d1ee543..c9032bfac2 100644
--- a/gnu/packages/crates-apple.scm
+++ b/gnu/packages/crates-apple.scm
@@ -365,3 +365,38 @@ extension of blocks.")
         ("rust-core-graphics" ,rust-core-graphics-0.22)
         ("rust-foreign-types" ,rust-foreign-types-0.3)
         ("rust-libc" ,rust-libc-0.2))))))
+
+(define-public rust-dispatch-0.2
+  (package
+    (name "rust-dispatch")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "dispatch" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0fwjr9b7582ic5689zxj8lf7zl94iklhlns3yivrnv8c9fxr635x"))))
+    (build-system cargo-build-system)
+    (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.
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0f011a8844..c1afbaf7d7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21099,41 +21099,6 @@ 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.2
-  (package
-    (name "rust-dispatch")
-    (version "0.2.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "dispatch" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "0fwjr9b7582ic5689zxj8lf7zl94iklhlns3yivrnv8c9fxr635x"))))
-    (build-system cargo-build-system)
-    (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-displaydoc-0.2
   (package
     (name "rust-displaydoc")



reply via email to

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