summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-14 13:03:05 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:18 +0200
commitc2f1c56a8ee16aa3588a06c5b19843c2ff9308c3 (patch)
treed7f588861565e37e760430c67d979effd47f637b /gnu/packages
parent22772b1c203d4ba66053d644acffbce13903c41a (diff)
gnu: Add rust-memoffset-0.2.
* gnu/packages/crates-io.scm (rust-memoffset-0.2): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d85506cf5a..dbc7878d52 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2547,6 +2547,28 @@ 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)
+ (arguments `(#:skip-build? #t))
+ (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")