diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-05-22 17:56:39 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-07-18 20:56:10 +0300 |
commit | 313818ca40b5b239616df00f39ad9db97026bfd9 (patch) | |
tree | 0f8590a7aa561b4266f3eb4dfcd9ec411dc4e513 | |
parent | 1bfd0d4ea79515f3c2904fa148b2a45217cd5af6 (diff) | |
download | guix-313818ca40b5b239616df00f39ad9db97026bfd9.tar.gz |
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") |