guix-commits
[Top][All Lists]
Advanced

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

16/66: gnu: Add rust-ndk-glue-0.6.


From: guix-commits
Subject: 16/66: gnu: Add rust-ndk-glue-0.6.
Date: Tue, 24 Oct 2023 07:54:51 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit b0ca63f9d9ba83e83d6f589b518867121768a4dd
Author: Steve George <steve@futurile.net>
AuthorDate: Mon Oct 23 23:20:59 2023 +0100

    gnu: Add rust-ndk-glue-0.6.
    
    * gnu/packages/crates-io-scm (rust-ndk-glue-0.6): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    Change-Id: I2b15f8ccfc6e1b64d702202de93e0fe099b42ff9
---
 gnu/packages/crates-io.scm | 65 ++++++++++++++++++++++++++++++----------------
 1 file changed, 43 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eadc4162e9..3f10af764e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42931,35 +42931,56 @@ general elements and for numerics.")
      "This package provides handles for accessing Android APIs.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-ndk-glue-0.5
+(define-public rust-ndk-glue-0.6
   (package
     (name "rust-ndk-glue")
-    (version "0.5.2")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "ndk-glue" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "1m44jh4f9sirs757ikc8sracg6dzw77h9l4bw9vm8s1dly7fw6y7"))))
+    (version "0.6.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "ndk-glue" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0pz6cdmmlzsb2jhrfvkma5d5vw2i331dlghqnkk2c0l6hdxll30d"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #true              ;XXX: Android only
-       #:cargo-inputs
-       (("rust-android-logger" ,rust-android-logger-0.10)
-        ("rust-lazy-static" ,rust-lazy-static-1)
-        ("rust-libc" ,rust-libc-0.2)
-        ("rust-log" ,rust-log-0.4)
-        ("rust-ndk" ,rust-ndk-0.5)
-        ("rust-ndk-context" ,rust-ndk-context-0.1)
-        ("rust-ndk-macro" ,rust-ndk-macro-0.3)
-        ("rust-ndk-sys" ,rust-ndk-sys-0.2))))
-    (home-page "https://github.com/rust-windowing/android-ndk-rs";)
+     (list #:skip-build? #t ;XXX: Android only
+           #:cargo-inputs `(("rust-android-logger" ,rust-android-logger-0.10)
+                            ("rust-lazy-static" ,rust-lazy-static-1)
+                            ("rust-libc" ,rust-libc-0.2)
+                            ("rust-log" ,rust-log-0.4)
+                            ("rust-ndk" ,rust-ndk-0.6)
+                            ("rust-ndk-context" ,rust-ndk-context-0.1)
+                            ("rust-ndk-macro" ,rust-ndk-macro-0.3)
+                            ("rust-ndk-sys" ,rust-ndk-sys-0.3))))
+    (home-page "https://github.com/rust-mobile/ndk";)
     (synopsis "Startup code for Android binaries")
-    (description
-     "This package provides startup code for Android binaries.")
+    (description "This package provides startup code for Android binaries.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-ndk-glue-0.5
+  (package
+    (inherit rust-ndk-glue-0.6)
+    (name "rust-ndk-glue")
+    (version "0.5.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "ndk-glue" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1m44jh4f9sirs757ikc8sracg6dzw77h9l4bw9vm8s1dly7fw6y7"))))
+    (arguments
+     (list #:skip-build? #t ;XXX: Android only
+           #:cargo-inputs `(("rust-android-logger" ,rust-android-logger-0.10)
+                            ("rust-lazy-static" ,rust-lazy-static-1)
+                            ("rust-libc" ,rust-libc-0.2)
+                            ("rust-log" ,rust-log-0.4)
+                            ("rust-ndk" ,rust-ndk-0.5)
+                            ("rust-ndk-context" ,rust-ndk-context-0.1)
+                            ("rust-ndk-macro" ,rust-ndk-macro-0.3)
+                            ("rust-ndk-sys" ,rust-ndk-sys-0.2))))))
+
 (define-public rust-ndk-glue-0.2
   (package
     (inherit rust-ndk-glue-0.5)



reply via email to

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