diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-09-21 11:20:17 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2020-10-12 11:42:07 +0530 |
commit | 8e07de3dbc5fa577f1eb8bf18a959491266e3987 (patch) | |
tree | 7302fff8b4606a459103f76d721ea0d725bf50a1 | |
parent | 08d59bc87094d9bb4377a177e7e478e7b1e25231 (diff) | |
download | guix-8e07de3dbc5fa577f1eb8bf18a959491266e3987.tar.gz |
gnu: Add rust-napi-sys-0.4.
* gnu/packages/crates-io.scm (rust-napi-sys-0.4): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e1dd85b471..91cce3dd51 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15387,6 +15387,38 @@ IO of Windows's named pipes.") (description "This package provides N-API procedural macros.") (license license:expat))) +(define-public rust-napi-sys-0.4 + (package + (name "rust-napi-sys") + (version "0.4.7") + (source + (origin + (method url-fetch) + (uri (crate-uri "napi-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0cjirf6n4i2lw65iaww8d4hahv3cbfm5ka9hlansvnbfgzwadzq9")))) + (build-system cargo-build-system) + (inputs + `(("openssl" ,openssl))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (arguments + `(#:cargo-inputs + (("rust-bindgen" ,rust-bindgen-0.55) + ("rust-semver" ,rust-semver-0.10) + ("rust-tar" ,rust-tar-0.4)) + #:cargo-development-inputs + (("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))) + (define-public rust-native-tls-0.2 (package (name "rust-native-tls") |