summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-03 10:05:48 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:36:05 +0300
commit47367336b782b394c0d9fae6b4363d4f7f9f3eb6 (patch)
tree7bf7f845d7d095fd93e8c3b3873b132c1c0f5469 /gnu
parent66ab2e82897b1c2de1cc38f1ce66b708119b9ee6 (diff)
downloadguix-47367336b782b394c0d9fae6b4363d4f7f9f3eb6.tar.gz
gnu: Add rust-napi-derive-backend-1.
* gnu/packages/crates-io.scm (rust-napi-derive-backend-1): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4b058242a9..8790faa963 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41058,6 +41058,32 @@ linear algebra library.")
     (description "This package provides N-API procedural macros.")
     (license license:expat)))
 
+(define-public rust-napi-derive-backend-1
+  (package
+    (name "rust-napi-derive-backend")
+    (version "1.0.52")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "napi-derive-backend" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "05wy00faa3bz2lqcrwnlr3l9hzwrw3qcapljiy26ml38j73cgfr0"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-convert-case" ,rust-convert-case-0.6)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-semver" ,rust-semver-1)
+        ("rust-syn" ,rust-syn-1))))
+    (home-page "https://napi.rs")
+    (synopsis "Codegen backend for napi procedural macro")
+    (description "Codegen backend for napi procedural macro.")
+    (license license:expat)))
+
 (define-public rust-napi-sys-2
   (package
     (name "rust-napi-sys")