[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
137/194: gnu: Add rust-napi-derive-2.
From: |
guix-commits |
Subject: |
137/194: gnu: Add rust-napi-derive-2. |
Date: |
Tue, 3 Oct 2023 14:57:53 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit f18ccad952af27a6bed5af9d67281da20789670e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 10:07:34 2023 +0300
gnu: Add rust-napi-derive-2.
* gnu/packages/crates-io.scm (rust-napi-derive-2): New variable.
(rust-napi-derive-0.5): Inherit from rust-napi-derive-2.
---
gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++-----
1 file changed, 26 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c3d3f5325d..36b776045a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40973,22 +40973,24 @@ linear algebra library.")
(description "This package provides N-API build support.")
(license license:expat)))
-(define-public rust-napi-derive-0.5
+(define-public rust-napi-derive-2
(package
(name "rust-napi-derive")
- (version "0.5.1")
+ (version "2.13.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "napi-derive" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0kkgpzw4i6f0zkg80v9vhr7y5rg25q3kv67029i1gcgsrxlqx4zi"))))
+ (base32 "0rz3plhps1i1p5m02ffy97lcd3mzf8ihdkcgf2l9lm2dm27nl76s"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-proc-macro2" ,rust-proc-macro2-1)
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-convert-case" ,rust-convert-case-0.6)
+ ("rust-napi-derive-backend" ,rust-napi-derive-backend-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))
(home-page "https://github.com/napi-rs/napi-rs")
@@ -40996,6 +40998,25 @@ linear algebra library.")
(description "This package provides N-API procedural macros.")
(license license:expat)))
+(define-public rust-napi-derive-0.5
+ (package
+ (inherit rust-napi-derive-2)
+ (name "rust-napi-derive")
+ (version "0.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "napi-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0kkgpzw4i6f0zkg80v9vhr7y5rg25q3kv67029i1gcgsrxlqx4zi"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))))
+
(define-public rust-napi-derive-backend-1
(package
(name "rust-napi-derive-backend")
- 109/194: gnu: Add rust-socket2-0.5., (continued)
- 109/194: gnu: Add rust-socket2-0.5., guix-commits, 2023/10/03
- 114/194: gnu: rust-openssl-0.10: Update to 0.10.57., guix-commits, 2023/10/03
- 119/194: gnu: Add rust-abi-stable-0.10., guix-commits, 2023/10/03
- 120/194: gnu: Add rust-mimalloc-rust-0.1., guix-commits, 2023/10/03
- 123/194: gnu: Add rust-auto-impl-0.5., guix-commits, 2023/10/03
- 131/194: gnu: rust-sourcemap-6: Update to 6.4.1., guix-commits, 2023/10/03
- 117/194: gnu: python-cryptography: Update to 41.0.4., guix-commits, 2023/10/03
- 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 <=
- 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, 2023/10/03
- 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