guix-commits
[Top][All Lists]
Advanced

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

16/54: gnu: Add rust-cocoa-0.23.


From: guix-commits
Subject: 16/54: gnu: Add rust-cocoa-0.23.
Date: Sun, 31 Jan 2021 03:52:17 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 38dbe801c0c988bf5f7f772ca91d974496b56857
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Jan 29 23:16:16 2021 +0100

    gnu: Add rust-cocoa-0.23.
    
    * gnu/packages/crates-io.scm (rust-cocoa-0.23): New variable.
    (rust-cocoa-0.22): Inherit from above.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++++----
 1 file changed, 28 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0398a48..0959662 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5993,25 +5993,26 @@ CMAKE environmental variable is set.")
     (license (list license:asl2.0
                    license:expat))))
 
-(define-public rust-cocoa-0.22
+(define-public rust-cocoa-0.23
   (package
     (name "rust-cocoa")
-    (version "0.22.0")
+    (version "0.23.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "cocoa" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "19qyyv01yzrm6aahn6cdxvb4jhl6v4fj0cgqkxmq38i7hq3dqzv6"))))
+        (base32 "1cj4c2axmg7aiid2786mpzj7wxpd582biv7c7yimqfnggp002hn5"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-bitflags" ,rust-bitflags-1)
         ("rust-block" ,rust-block-0.1)
+        ("rust-cocoa-foundation" ,rust-cocoa-foundation-0.1)
         ("rust-core-foundation" ,rust-core-foundation-0.9)
-        ("rust-core-graphics" ,rust-core-graphics-0.21)
+        ("rust-core-graphics" ,rust-core-graphics-0.22)
         ("rust-foreign-types" ,rust-foreign-types-0.3)
         ("rust-libc" ,rust-libc-0.2)
         ("rust-objc" ,rust-objc-0.2))))
@@ -6020,6 +6021,29 @@ CMAKE environmental variable is set.")
     (description "This package provides bindings to Cocoa for macOS.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-cocoa-0.22
+  (package
+    (inherit rust-cocoa-0.23)
+    (name "rust-cocoa")
+    (version "0.22.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cocoa" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19qyyv01yzrm6aahn6cdxvb4jhl6v4fj0cgqkxmq38i7hq3dqzv6"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-1)
+        ("rust-block" ,rust-block-0.1)
+        ("rust-core-foundation" ,rust-core-foundation-0.9)
+        ("rust-core-graphics" ,rust-core-graphics-0.21)
+        ("rust-foreign-types" ,rust-foreign-types-0.3)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-objc" ,rust-objc-0.2))))))
+
 (define-public rust-cocoa-0.19
   (package
     (inherit rust-cocoa-0.22)



reply via email to

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