diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-07-13 12:26:15 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-07-18 20:56:16 +0300 |
commit | 99ba8451fb291aa91e80ca94b5870d9649f503c0 (patch) | |
tree | 069e999d7649a7eb2ad0485884f410a92b51be6f /gnu/packages | |
parent | d8cf1896226dd15d5292e6b80c9f9e2e2bed0e1c (diff) | |
download | guix-99ba8451fb291aa91e80ca94b5870d9649f503c0.tar.gz |
gnu: Add rust-allocator-api2-0.2.
* gnu/packages/crates-io.scm (rust-allocator-api2-0.2): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 41af74fd4b..cd733728c4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2879,6 +2879,26 @@ options to use calloc or a mutable global variable for pre-zeroed memory.") be used with the stdlib.") (license license:bsd-3))) +(define-public rust-allocator-api2-0.2 + (package + (name "rust-allocator-api2") + (version "0.2.15") + (source (origin + (method url-fetch) + (uri (crate-uri "allocator-api2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1sdgkqs0pyk61m4yjksl5fv8wld11s5rp7v4v3p5hhccvkw6rz2n")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags '("--lib") + #:cargo-inputs (("rust-serde" ,rust-serde-1)))) + (home-page "https://github.com/zakarumych/allocator-api2") + (synopsis "Mirror of Rust's allocator API") + (description "Mirror of Rust's allocator API.") + (license (list license:expat license:asl2.0)))) + (define-public rust-always-assert-0.1 (package (name "rust-always-assert") |