diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-08-30 23:40:27 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-08-30 23:40:27 +0300 |
commit | 4501b4fd3f29934e915aaaafb185f83e618c85a6 (patch) | |
tree | 52eba51ea8fbf76dfa5bcf09c026d72bf15d9264 /gnu/packages/crates-io.scm | |
parent | 319de44a094b0db3aea536e0ebcb89c06b7df80b (diff) | |
download | guix-4501b4fd3f29934e915aaaafb185f83e618c85a6.tar guix-4501b4fd3f29934e915aaaafb185f83e618c85a6.tar.gz |
gnu: Add rust-bytemuck-derive-1.
* gnu/packages/crates-io.scm (rust-bytemuck-derive-1): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index d911ea2e01..bd64714d61 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -2332,6 +2332,34 @@ in a byte slice, fast.") "This package provides a crate for mucking around with piles of bytes.") (license license:zlib))) +(define-public rust-bytemuck-derive-1 + (package + (name "rust-bytemuck-derive") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bytemuck-derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1k59b6g2d87nf32qwhp73vng3al0zklxg64iiwf0pkxy74xf5ni8")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-bytemuck" ,rust-bytemuck-1)))) + (home-page "https://github.com/Lokathor/bytemuck") + (synopsis "Derive proc-macros for @code{bytemuck}") + (description + "This package derives proc-macros for the @code{bytemuck} crate.") + (license + (list license:zlib license:asl2.0 license:expat)))) + (define-public rust-byteorder-1.3 (package (name "rust-byteorder") |