diff options
author | Zheng junjie <873216071@qq.com> | 2021-06-11 19:44:51 +0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-06-13 19:14:03 +0200 |
commit | 751aa90ee4cc7fc24a1e67eb5897a4af87a60034 (patch) | |
tree | 346ce5226c2bd9b91aa304b0624c68f3324e221a | |
parent | 3abd9fab74f9fb1db8c520ba2f7e5ccc2367eede (diff) |
gnu: Add rust-libloading-0.7.
* gnu/packages/crates-io.scm (rust-libloading-0.7): New variable.
(rust-libloading-0.6): inherit from above.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r-- | gnu/packages/crates-io.scm | 38 |
1 files changed, 31 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 370e011b8a..5470190671 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -22859,8 +22859,38 @@ library.") (snippet '(begin (delete-file-recursively "libgit2") #t)))))) +(define-public rust-libloading-0.7 + (package + (name "rust-libloading") + (version "0.7.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "libloading" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-cfg-if" ,rust-cfg-if-1) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2) + ("rust-static-assertions" + ,rust-static-assertions-1)))) + (home-page "https://github.com/nagisa/rust_libloading/") + (synopsis "Safer binding to dynamic library loading utilities") + (description "This package provides a safer binding to dynamic library +loading utilities.") + (license license:isc))) + (define-public rust-libloading-0.6 (package + (inherit rust-libloading-0.7) (name "rust-libloading") (version "0.6.7") (source @@ -22870,7 +22900,6 @@ library.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "10wq4a4jkman8k6y0v2cw3d38y1h3rw6d2in5klggm8jg90k46im")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #true #:cargo-inputs @@ -22881,12 +22910,7 @@ library.") ("rust-static-assertions" ,rust-static-assertions-1)))) (inputs `(("rust-cfg-if" ,rust-cfg-if-1) - ("rust-winapi" ,rust-winapi-0.3))) - (home-page "https://github.com/nagisa/rust_libloading/") - (synopsis "Safer binding to dynamic library loading utilities") - (description "This package provides a safer binding to dynamic library -loading utilities.") - (license license:isc))) + ("rust-winapi" ,rust-winapi-0.3))))) (define-public rust-libloading-0.5 (package |