diff options
author | Marius Bakke <marius@gnu.org> | 2022-12-01 20:05:05 +0100 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2022-12-02 19:35:46 +0100 |
commit | 83350bf56b20f3106cd9eeab80b70a9eaf810a48 (patch) | |
tree | d9e5927b2ad697e010b4e7cf68f628c69f6fc52e /gnu | |
parent | d65afc9f5af5f33a29c2c5d23e6edd71722b07ff (diff) | |
download | guix-83350bf56b20f3106cd9eeab80b70a9eaf810a48.tar.gz |
gnu: rust-zerocopy: Add 0.6.1.
* gnu/packages/crates-io.scm (rust-zerocopy-0.6): New variable. (rust-zerocopy-0.3): Inherit from it.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 29 |
1 files changed, 23 insertions, 6 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cc27e52026..8a4483c3bf 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -68108,8 +68108,31 @@ for locating fonts.") (description "This package provides an implementation of zbase32.") (license license:lgpl3+))) +(define-public rust-zerocopy-0.6 + (package + (name "rust-zerocopy") + (version "0.6.1") + (source (origin + (method url-fetch) + (uri (crate-uri "zerocopy" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0dpj4nd9v56wy93ahjkp95znjzj91waqvidqch8gxwdwq661hbrk")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.3)))) + (home-page "https://github.com/google/zerocopy") + (synopsis "Utilities for zero-copy parsing and serialization") + (description "Utilities for zero-copy parsing and serialization") + (license license:bsd-2))) + (define-public rust-zerocopy-0.3 (package + (inherit rust-zerocopy-0.6) (name "rust-zerocopy") (version "0.3.1") (source @@ -68119,17 +68142,11 @@ for locating fonts.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "00nbb6yal8f74bkpn7msjcnhisimw8s5777a63206rfnn3br45zh")))) - (build-system cargo-build-system) (arguments `(#:skip-build? #t #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.2)))) - (home-page "https://fuchsia.googlesource.com/fuchsia/+/HEAD/src/lib/zerocopy") - (synopsis "Utilities for zero-copy parsing and serialization") - (description - "This package provides utilities for zero-copy parsing and -serialization.") (license license:bsd-3))) (define-public rust-zerocopy-derive-0.3 |