[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
430/475: gnu: Add rust-ndk-0.7.
From: |
guix-commits |
Subject: |
430/475: gnu: Add rust-ndk-0.7. |
Date: |
Sun, 7 May 2023 12:48:37 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 4e4fca901f36a6ae729a36d4d5b8abdc4a018321
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Apr 24 16:14:43 2023 +0300
gnu: Add rust-ndk-0.7.
* gnu/packages/crates-io.scm (rust-ndk-0.7): New variable.
(rust-ndk-0.5): Inherit from rust-ndk-0.7.
---
gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++++-----
1 file changed, 29 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6e21f6bad2..affa34251e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37241,27 +37241,28 @@ general elements and for numerics.")
("rust-quickcheck" ,rust-quickcheck-0.7)
("rust-rawpointer" ,rust-rawpointer-0.1))))))
-(define-public rust-ndk-0.5
+(define-public rust-ndk-0.7
(package
(name "rust-ndk")
- (version "0.5.0")
+ (version "0.7.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "ndk" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "17b9imdmv6cffr12bdpvxw1myxdyvaf6jwkmd3w7abn7akv6in4n"))))
+ (base32 "180sjpyf1ylqgqw4ni8jcg3kv96vvrddzamknp4730kiwjvj4525"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #true ;XXX: Android only
#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
- ("rust-jni" ,rust-jni-0.18)
+ ("rust-jni" ,rust-jni-0.19)
("rust-jni-glue" ,rust-jni-glue-0.0)
("rust-jni-sys" ,rust-jni-sys-0.3)
- ("rust-ndk-sys" ,rust-ndk-sys-0.2)
+ ("rust-ndk-sys" ,rust-ndk-sys-0.4)
("rust-num-enum" ,rust-num-enum-0.5)
+ ("rust-raw-window-handle" ,rust-raw-window-handle-0.5)
("rust-thiserror" ,rust-thiserror-1))))
(home-page "https://github.com/rust-windowing/android-ndk-rs")
(synopsis "Safe Rust bindings to the Android NDK")
@@ -37269,6 +37270,29 @@ general elements and for numerics.")
"This package provides safe Rust bindings to the Android NDK.")
(license (list license:expat license:asl2.0))))
+(define-public rust-ndk-0.5
+ (package
+ (inherit rust-ndk-0.7)
+ (name "rust-ndk")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ndk" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17b9imdmv6cffr12bdpvxw1myxdyvaf6jwkmd3w7abn7akv6in4n"))))
+ (arguments
+ `(#:skip-build? #true ;XXX: Android only
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-jni" ,rust-jni-0.18)
+ ("rust-jni-glue" ,rust-jni-glue-0.0)
+ ("rust-jni-sys" ,rust-jni-sys-0.3)
+ ("rust-ndk-sys" ,rust-ndk-sys-0.2)
+ ("rust-num-enum" ,rust-num-enum-0.5)
+ ("rust-thiserror" ,rust-thiserror-1))))))
+
(define-public rust-ndk-0.2
(package
(inherit rust-ndk-0.5)
- 399/475: gnu: Add rust-calloop-0.10., (continued)
- 399/475: gnu: Add rust-calloop-0.10., guix-commits, 2023/05/07
- 348/475: gnu: Add rust-compact-str-0.7., guix-commits, 2023/05/07
- 382/475: gnu: Add rust-objc2-0.3., guix-commits, 2023/05/07
- 371/475: gnu: rust-libgit2-sys-0.13: Update to 0.13.5., guix-commits, 2023/05/07
- 349/475: gnu: Add rust-windows-interface-0.46., guix-commits, 2023/05/07
- 392/475: gnu: rust-wayland-sys-0.29: Update to 0.29.5., guix-commits, 2023/05/07
- 368/475: gnu: rust-pledge-0.3: Update to 0.4.2., guix-commits, 2023/05/07
- 397/475: gnu: Add rust-smithay-client-toolkit-0.16., guix-commits, 2023/05/07
- 385/475: gnu: rust-wayland-commons-0.29: Update to 0.29.5., guix-commits, 2023/05/07
- 376/475: gnu: Add rust-block2-0.2., guix-commits, 2023/05/07
- 430/475: gnu: Add rust-ndk-0.7.,
guix-commits <=
- 425/475: gnu: rust-toml-edit-0.19: Update to 0.19.8., guix-commits, 2023/05/07
- 422/475: gnu: rust-serde-test-1: Update to 1.0.160., guix-commits, 2023/05/07
- 431/475: gnu: Add rust-redox-syscall-0.3., guix-commits, 2023/05/07
- 432/475: gnu: Add rust-sctk-adwaita-0.5., guix-commits, 2023/05/07
- 440/475: gnu: Add rust-ttf-parser-0.19., guix-commits, 2023/05/07
- 450/475: gnu: rust-bindgen-0.59: Add missing inputs., guix-commits, 2023/05/07
- 457/475: gnu: rust-webpki-roots-0.22: Add missing input., guix-commits, 2023/05/07
- 446/475: gnu: Add rust-tiny-skia-path-0.8., guix-commits, 2023/05/07
- 464/475: gnu: rust-sct-0.5: Fix build., guix-commits, 2023/05/07
- 462/475: gnu: rust-tokio-rustls-0.23: Add missing input., guix-commits, 2023/05/07