[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
135/194: gnu: Add rust-napi-sys-2.
From: |
guix-commits |
Subject: |
135/194: gnu: Add rust-napi-sys-2. |
Date: |
Tue, 3 Oct 2023 14:57:51 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit b4b4b8a09b73f31e13748bf2beb69996125a938e
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 f0f6a13ca8..4454abceb3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40996,8 +40996,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
@@ -41008,7 +41028,6 @@ linear algebra library.")
(sha256
(base32
"0cjirf6n4i2lw65iaww8d4hahv3cbfm5ka9hlansvnbfgzwadzq9"))))
- (build-system cargo-build-system)
(inputs
(list openssl))
(native-inputs
@@ -41022,11 +41041,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
- 124/194: gnu: Add rust-convert-case-0.6., (continued)
- 124/194: gnu: Add rust-convert-case-0.6., guix-commits, 2023/10/03
- 143/194: gnu: Add rust-unreachable-0.1., guix-commits, 2023/10/03
- 129/194: gnu: Add rust-repr-offset-0.2., guix-commits, 2023/10/03
- 137/194: gnu: Add rust-napi-derive-2., guix-commits, 2023/10/03
- 127/194: gnu: rust-lexical-core-0.7: Fix inputs., guix-commits, 2023/10/03
- 139/194: gnu: Add rust-napi-2., guix-commits, 2023/10/03
- 141/194: gnu: rust: Fix test failures on some architectures., guix-commits, 2023/10/03
- 122/194: gnu: Add rust-as-derive-utils-0.10., guix-commits, 2023/10/03
- 144/194: gnu: Add rust-unicode-id-0.3., guix-commits, 2023/10/03
- 132/194: gnu: rust-test-case-1: Update to 1.2.3., guix-commits, 2023/10/03
- 135/194: gnu: Add rust-napi-sys-2.,
guix-commits <=
- 148/194: gnu: Add rust-ntest-timeout-0.7., guix-commits, 2023/10/03
- 128/194: gnu: rust-proptest-1: Update to 1.3.1., guix-commits, 2023/10/03
- 147/194: gnu: Add rust-ntest-proc-macro-helper-0.7., guix-commits, 2023/10/03
- 150/194: gnu: Add rust-ntest-0.7., guix-commits, 2023/10/03
- 154/194: gnu: Add rust-generational-arena-0.2., guix-commits, 2023/10/03
- 155/194: gnu: Add rust-debugid-0.8., guix-commits, 2023/10/03
- 153/194: gnu: Add rust-lexical-5., guix-commits, 2023/10/03
- 160/194: gnu: Add rust-as-derive-utils-0.8., guix-commits, 2023/10/03
- 164/194: gnu: Add rust-predicates-3., guix-commits, 2023/10/03
- 161/194: gnu: Add rust-y4m-0.8., guix-commits, 2023/10/03