[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
135/276: gnu: Add rust-napi-sys-2.
From: |
guix-commits |
Subject: |
135/276: gnu: Add rust-napi-sys-2. |
Date: |
Wed, 18 Oct 2023 04:49:45 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 66ab2e82897b1c2de1cc38f1ce66b708119b9ee6
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 10:05:11 2023 +0300
gnu: Add rust-napi-sys-2.
* gnu/packages/crates-io.scm (rust-napi-sys-2): New variable.
(rust-napi-sys-0.4): Inherit from rust-napi-sys-2.
---
gnu/packages/crates-io.scm | 27 +++++++++++++++++++++------
1 file changed, 21 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 527a5e0274..4b058242a9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41058,8 +41058,28 @@ linear algebra library.")
(description "This package provides N-API procedural macros.")
(license license:expat)))
+(define-public rust-napi-sys-2
+ (package
+ (name "rust-napi-sys")
+ (version "2.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "napi-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qxs0wxlax3nj3b1q1vgr5ihzp8c0d58vzm98x85gd9s5bsmwsqn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libloading" ,rust-libloading-0.7))))
+ (home-page "https://github.com/napi-rs/napi-rs")
+ (synopsis "NodeJS N-API raw binding")
+ (description "This package provides a NodeJS N-API raw binding.")
+ (license license:expat)))
+
(define-public rust-napi-sys-0.4
(package
+ (inherit rust-napi-sys-2)
(name "rust-napi-sys")
(version "0.4.7")
(source
@@ -41070,7 +41090,6 @@ linear algebra library.")
(sha256
(base32
"0cjirf6n4i2lw65iaww8d4hahv3cbfm5ka9hlansvnbfgzwadzq9"))))
- (build-system cargo-build-system)
(inputs
(list openssl))
(native-inputs
@@ -41084,11 +41103,7 @@ linear algebra library.")
(("rust-flate2" ,rust-flate2-1)
("rust-glob" ,rust-glob-0.3)
("rust-regex" ,rust-regex-1)
- ("rust-reqwest" ,rust-reqwest-0.10))))
- (home-page "https://github.com/napi-rs/napi-rs")
- (synopsis "NodeJS N-API raw binding")
- (description "This package provides a NodeJS N-API raw binding.")
- (license license:expat)))
+ ("rust-reqwest" ,rust-reqwest-0.10))))))
(define-public rust-native-tls-0.2
(package
- 211/276: gnu: rust-merge-0.1: Add missing inputs., (continued)
- 211/276: gnu: rust-merge-0.1: Add missing inputs., guix-commits, 2023/10/18
- 235/276: gnu: rust-quinn-0.8: Add missing input., guix-commits, 2023/10/18
- 238/276: gnu: rust-libpijul-0.12: Skip build., guix-commits, 2023/10/18
- 243/276: gnu: rust-security-framework-sys-0.2: Skip build., guix-commits, 2023/10/18
- 244/276: gnu: rust-serde-repr-0.1: Update to 0.1.16., guix-commits, 2023/10/18
- 252/276: gnu: rust-trust-dns-https-0.19: Add missing input., guix-commits, 2023/10/18
- 251/276: gnu: rust-trust-dns-https-0.3: Skip build., guix-commits, 2023/10/18
- 264/276: gnu: rust-tower-service-0.3: Update to 0.3.2., guix-commits, 2023/10/18
- 268/276: gnu: rust-rustfix-0.6: Update to 0.6.1., guix-commits, 2023/10/18
- 272/276: gnu: rust-zstd-0.9: Downgrade to 0.9.2+zstd.1.5.1., guix-commits, 2023/10/18
- 135/276: gnu: Add rust-napi-sys-2.,
guix-commits <=