summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-09 16:02:47 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-12-30 19:48:24 +0100
commita1fae22af2fcac608a8f11757b009a6dec6da3ce (patch)
treedfd989cdcff24c239e6ba1f7c1c96e847e159f13
parent72c17e1ae563e4ebaab63965859e75ec0c72dae1 (diff)
downloadguix-a1fae22af2fcac608a8f11757b009a6dec6da3ce.tar.gz
gnu: Add rust-ndk-sys-0.2.
* gnu/packages/crates-io.scm (rust-ndk-sys-0.2): New variable.
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 59382fab50..cbb0c47a40 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17170,6 +17170,24 @@ general elements and for numerics.")
     (description "This package provides helper macros for android ndk.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-ndk-sys-0.2
+  (package
+    (name "rust-ndk-sys")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ndk-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13c68a217ag3k18vlffpcj2qjfinchxxchzlwnsp075v7p5j4jf4"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page "https://github.com/rust-windowing/android-ndk-rs")
+    (synopsis "FFI bindings for the Android NDK")
+    (description "This package provides FFI bindings for the Android NDK.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-net2-0.2
   (package
     (name "rust-net2")