summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-07-27 14:49:35 +0200
committerMarius Bakke <marius@gnu.org>2022-07-27 16:13:38 +0200
commit3219f25c27bd1c0a848bfbb8b4ca1013beb1af93 (patch)
treee9158f9bed5cd9b40e096d01de3015c28669a234 /gnu
parent3336406334bb268983256625d69dbe7790bf1a79 (diff)
downloadguix-3219f25c27bd1c0a848bfbb8b4ca1013beb1af93.tar.gz
gnu: Add rust-ndk-context.
* gnu/packages/crates-io.scm (rust-ndk-context-0.1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index df1f256395..b1dcde37fd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36692,6 +36692,26 @@ 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-context-0.1
+  (package
+    (name "rust-ndk-context")
+    (version "0.1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "ndk-context" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "12sai3dqsblsvfd1l1zab0z6xsnlha3xsfl7kagdnmj3an3jvc17"))))
+    (build-system cargo-build-system)
+    (arguments
+     '(#:tests? #f))                 ;TODO: requires many dependencies + setup
+    (home-page "https://github.com/rust-windowing/android-ndk-rs")
+    (synopsis "Handles for accessing Android APIs")
+    (description
+     "This package provides handles for accessing Android APIs.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-ndk-glue-0.2
   (package
     (name "rust-ndk-glue")