aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 20279f370c..e5f11f7556 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19642,6 +19642,30 @@ representation.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-field-offset-0.3
+ (package
+ (name "rust-field-offset")
+ (version "0.3.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "field-offset" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14pvxz7yr0r3mlhaf65zva3r9d0kqid01wdw7ngx7jsh2jam870y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build?
+ #t
+ #:cargo-inputs
+ (("rust-memoffset" ,rust-memoffset-0.6)
+ ("rust-rustc-version" ,rust-rustc-version-0.3))))
+ (home-page "https://github.com/Diggsey/rust-field-offset")
+ (synopsis "Safe pointer-to-member implementation")
+ (description "This package provides safe pointer-to-member
+implementation.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-findshlibs-0.5
(package
(name "rust-findshlibs")