From 5a708903f5560ee37193dc834da2c386742bdd29 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 13:03:05 -0800 Subject: [PATCH 049/206] gnu: Add rust-memoffset-0.2. * gnu/packages/crates-io.scm (rust-memoffset-0.2): New variable. --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 03587ddec6..012689bc28 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2560,6 +2560,27 @@ file IO.") (base32 "1zy6s0ni0lx9rjzq3gq2zz9r8zgjmbp02332g3gsj4fyhv4s5zz2")))))) +(define-public rust-memoffset-0.2 + (package + (name "rust-memoffset") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "memoffset" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1cvm2z7dy138s302ii7wlzcxbka5a8yfl5pl5di7lbdnw9hw578g")))) + (build-system cargo-build-system) + (home-page "https://github.com/Gilnaa/memoffset") + (synopsis + "offset_of functionality for Rust structs") + (description + "@code{offset_of} functionality for Rust structs.") + (license license:expat))) + (define-public rust-mime-0.3 (package (name "rust-mime") -- 2.24.0