summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2020-09-21 11:22:18 +0530
committerArun Isaac <arunisaac@systemreboot.net>2020-10-12 11:42:07 +0530
commit0a0a560c90faef0a3a482d1b528d9430b6912c4b (patch)
treed57766f0cc74589c12651a1824ae3fbc6c430312 /gnu
parent8e07de3dbc5fa577f1eb8bf18a959491266e3987 (diff)
downloadguix-0a0a560c90faef0a3a482d1b528d9430b6912c4b.tar.gz
gnu: Add rust-napi-build-0.2.
* gnu/packages/crates-io.scm (rust-napi-build-0.2): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 91cce3dd51..0199c048c5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15363,6 +15363,27 @@ statically-sized or dynamically-sized matrices.")
 IO of Windows's named pipes.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-napi-build-0.2
+  (package
+    (name "rust-napi-build")
+    (version "0.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "napi-build" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1z02mlw1wa01fjpjnqns3f3vxacbg1jnk98hcg3pgwp5xy3zdyqq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cfg-if" ,rust-cfg-if-0.1)
+        ("rust-reqwest" ,rust-reqwest-0.10))))
+    (home-page "https://github.com/napi-rs/napi-rs")
+    (synopsis "N-API build support")
+    (description "This package provides N-API build support.")
+    (license license:expat)))
 
 (define-public rust-napi-derive-0.5
   (package