mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 14:52:05 -05:00
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.
This commit is contained in:
parent
e9b2122e57
commit
66ab2e8289
1 changed files with 21 additions and 6 deletions
|
@ -41058,8 +41058,28 @@ (define-public rust-napi-derive-0.5
|
|||
(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 @@ (define-public rust-napi-sys-0.4
|
|||
(sha256
|
||||
(base32
|
||||
"0cjirf6n4i2lw65iaww8d4hahv3cbfm5ka9hlansvnbfgzwadzq9"))))
|
||||
(build-system cargo-build-system)
|
||||
(inputs
|
||||
(list openssl))
|
||||
(native-inputs
|
||||
|
@ -41084,11 +41103,7 @@ (define-public rust-napi-sys-0.4
|
|||
(("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
|
||||
|
|
Loading…
Reference in a new issue