diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-22 17:56:39 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-08-14 19:38:01 +0300 |
commit | e4f8a088e061685b58fba5b2afc63d01f813f4e7 (patch) | |
tree | 91f89b9a121c5613cca342c51fda46fd7c80ac0c | |
parent | 53006b746a12c5cfdd6605ea5b97d6026753d973 (diff) |
gnu: Add rust-no-std-compat-0.4.
* gnu/packages/crates-io.scm (rust-no-std-compat-0.4): New variable.
-rw-r--r-- | gnu/packages/crates-io.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2f545a2541..171769f567 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -39351,6 +39351,31 @@ environment variable is set.") prove a function can't ever panic.") (license (list license:expat license:asl2.0)))) +(define-public rust-no-std-compat-0.4 + (package + (name "rust-no-std-compat") + (version "0.4.1") + (source (origin + (method url-fetch) + (uri (crate-uri "no-std-compat" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "132vrf710zsdp40yp1z3kgc2ss8pi0z4gmihsz3y7hl4dpd56f5r")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-hashbrown" ,rust-hashbrown-0.8) + ("rust-spin" ,rust-spin-0.5)) + #:cargo-development-inputs + (("rust-libc" ,rust-libc-0.2)))) + (home-page "https://gitlab.com/jD91mZM2/no-std-compat") + (synopsis "No_std compatibility layer") + (description + "This package provides a @code{#![no_std]} compatibility layer that will +make porting your crate to no_std *easy*.") + (license license:expat))) + (define-public rust-no-std-net-0.5 (package (name "rust-no-std-net") |