mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-23 19:19:20 -05:00
gnu: Add rust-android-activity-0.5.
* gnu/packages/crates-io.scm (rust-android-activity-0.5): New variable. (rust-android-activity-0.4): Inherit from rust-android-activity-0.5. Change-Id: Id9e84c6dc0c61358d54809a3fb35c08f0da3b2b7
This commit is contained in:
parent
34ab4c5f7a
commit
945bf35e24
1 changed files with 35 additions and 7 deletions
|
@ -1864,8 +1864,42 @@ (define-public rust-always-assert-0.1
|
|||
applications.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-android-activity-0.5
|
||||
(package
|
||||
(name "rust-android-activity")
|
||||
(version "0.5.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "android-activity" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1fgl1jbzwbxrw4naw8bzjmphqj68q3hiylc05pakyz4p5a8h3f1r"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t ; Only supports compiling for Android.
|
||||
#:cargo-inputs (("rust-android-properties" ,rust-android-properties-0.2)
|
||||
("rust-bitflags" ,rust-bitflags-2)
|
||||
("rust-cc" ,rust-cc-1)
|
||||
("rust-cesu8" ,rust-cesu8-1)
|
||||
("rust-jni" ,rust-jni-0.21)
|
||||
("rust-jni-sys" ,rust-jni-sys-0.3)
|
||||
("rust-libc" ,rust-libc-0.2)
|
||||
("rust-log" ,rust-log-0.4)
|
||||
("rust-ndk" ,rust-ndk-0.8)
|
||||
("rust-ndk-context" ,rust-ndk-context-0.1)
|
||||
("rust-ndk-sys" ,rust-ndk-sys-0.5)
|
||||
("rust-num-enum" ,rust-num-enum-0.7)
|
||||
("rust-thiserror" ,rust-thiserror-1))))
|
||||
(home-page "https://github.com/rust-mobile/android-activity")
|
||||
(synopsis "Glue for building Rust applications on Android")
|
||||
(description "This package provides the glue needed for building Rust
|
||||
applications on Android with NativeActivity or GameActivity.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-android-activity-0.4
|
||||
(package
|
||||
(inherit rust-android-activity-0.5)
|
||||
(name "rust-android-activity")
|
||||
(version "0.4.1")
|
||||
(source (origin
|
||||
|
@ -1874,7 +1908,6 @@ (define-public rust-android-activity-0.4
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "19imf29l08n7qlkqk3ri3m3nzfhm0lmkqizafs68i2ysbq2a0xvw"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t ; Only supports compiling for Android.
|
||||
#:cargo-inputs
|
||||
|
@ -1887,12 +1920,7 @@ (define-public rust-android-activity-0.4
|
|||
("rust-ndk" ,rust-ndk-0.7)
|
||||
("rust-ndk-context" ,rust-ndk-context-0.1)
|
||||
("rust-ndk-sys" ,rust-ndk-sys-0.4)
|
||||
("rust-num-enum" ,rust-num-enum-0.5))))
|
||||
(home-page "https://github.com/rust-mobile/android-activity")
|
||||
(synopsis "Glue for building Rust applications on Android")
|
||||
(description "This package provides the glue needed for building Rust
|
||||
applications on Android with NativeActivity or GameActivity.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
("rust-num-enum" ,rust-num-enum-0.5))))))
|
||||
|
||||
(define-public rust-android-glue-0.2
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue