diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-11-05 16:38:06 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-11-28 07:59:35 +0200 |
commit | 511f443061016984dd5c0d7000f215831fbebf11 (patch) | |
tree | 2fbf4c2a2c5a1f95f489f38b42481e99120246e1 /gnu/packages/crates-io.scm | |
parent | d3b9067e372e66ab8b577adf73a003b1e71772e9 (diff) |
gnu: Add rust-ndk-glue-0.7.
* gnu/packages/crates-io.scm (rust-ndk-glue-0.7): New variable.
(rust-ndk-glue-0.6): Inherit from rust-ndk-glue-0.7.
Change-Id: Ibade5623ccf113e9414fe4c00e905ac941eb9164
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a289a14726..8baaeffec4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -46159,8 +46159,37 @@ 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.7 + (package + (name "rust-ndk-glue") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ndk-glue" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0zyniqkkrzx3l3akf87h7kq1fdrkgddiv8wcfsmhlpn1sayzld04")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t ;XXX: Android only + #:cargo-inputs (("rust-android-logger" ,rust-android-logger-0.11) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-ndk" ,rust-ndk-0.7) + ("rust-ndk-context" ,rust-ndk-context-0.1) + ("rust-ndk-macro" ,rust-ndk-macro-0.3) + ("rust-ndk-sys" ,rust-ndk-sys-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-parking-lot" ,rust-parking-lot-0.12)))) + (home-page "https://github.com/rust-windowing/android-ndk-rs") + (synopsis "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.6 (package + (inherit rust-ndk-glue-0.7) (name "rust-ndk-glue") (version "0.6.2") (source (origin @@ -46170,7 +46199,6 @@ general elements and for numerics.") (sha256 (base32 "0pz6cdmmlzsb2jhrfvkma5d5vw2i331dlghqnkk2c0l6hdxll30d")))) - (build-system cargo-build-system) (arguments (list #:skip-build? #t ;XXX: Android only #:cargo-inputs `(("rust-android-logger" ,rust-android-logger-0.10) @@ -46180,11 +46208,7 @@ general elements and for numerics.") ("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.") - (license (list license:expat license:asl2.0)))) + ("rust-ndk-sys" ,rust-ndk-sys-0.3)))))) (define-public rust-ndk-glue-0.5 (package |