diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-03 23:26:46 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-01-03 23:26:46 +0100 |
commit | 1670de3910c14d5fa9d2c6cd07aa31088f94b7fe (patch) | |
tree | 97d415ae239f40cb373b1f20aecff0365a18e335 /gnu/packages/crates-io.scm | |
parent | 52afb2f2aae834d3ecce7a523aa15a45011e3d4d (diff) | |
download | guix-1670de3910c14d5fa9d2c6cd07aa31088f94b7fe.tar.gz guix-1670de3910c14d5fa9d2c6cd07aa31088f94b7fe.zip |
gnu: Add rust-ndk-glue-0.2.
* gnu/packages/crates-io.scm (rust-ndk-glue-0.2): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 170b531d51..0480c1b53e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -18438,6 +18438,34 @@ 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-glue-0.2 + (package + (name "rust-ndk-glue") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "ndk-glue" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0hajn6nsg6i3khi7yr2ayafpiznm5z3k5v64afqnz753nyw9kwxx")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #true ;XXX: Android only + #:cargo-inputs + (("rust-android-logger" ,rust-android-logger-0.8) + ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-log" ,rust-log-0.4) + ("rust-ndk" ,rust-ndk-0.2) + ("rust-ndk-macro" ,rust-ndk-macro-0.2) + ("rust-ndk-sys" ,rust-ndk-sys-0.2)))) + (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-macro-0.2 (package (name "rust-ndk-macro") |