From 3bf251d1d677a5c5d624655b30ab42333aa79412 Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Thu, 16 Jan 2020 17:32:03 +0300 Subject: [PATCH 044/275] gnu: Add rust-malloc-buf-0. * gnu/packages/crates-io.scm (rust-malloc-buf-0): New variable. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 2bcf8436c4..695bfb1716 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6407,6 +6407,31 @@ implementation of LZMA and xz stream encoding/decoding.") "Enables build.rs scripts to invoke gnu_make platform-independently.") (license license:expat))) +(define-public rust-malloc-buf-0 + (package + (name "rust-malloc-buf") + (version "0.0.6") + (source + (origin + (method url-fetch) + (uri (crate-uri "malloc-buf" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1jqr77j89pwszv51fmnknzvd53i1nkmcr8rjrvcxhm4dx1zr1fv2")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-libc" ,rust-libc-0.2)))) + (home-page + "https://github.com/SSheldon/malloc_buf") + (synopsis + "Structs for handling malloc'd memory passed to Rust") + (description + "Structs for handling malloc'd memory passed to Rust.") + (license license:expat))) + (define-public rust-maplit-1.0 (package (name "rust-maplit") -- 2.25.0