unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Hartmut Goebel <h.goebel@crazy-compilers.com>
To: 40874@debbugs.gnu.org
Subject: [bug#40874] [PATCH 14/94] gnu: Add rust-bytes-0.5.
Date: Sun, 26 Apr 2020 18:44:53 +0200	[thread overview]
Message-ID: <8882d2c37b7a32f9209fc554cfb6f67b7f59b266.1587919229.git.h.goebel@crazy-compilers.com> (raw)
In-Reply-To: <cover.1587919228.git.h.goebel@crazy-compilers.com>

* gnu/packages/crates-io.scm (rust-bytes-0.5): New variable.
  (rust-bytes-0.4): Inherit from it.
---
 gnu/packages/crates-io.scm | 34 ++++++++++++++++++++++++++--------
 1 file changed, 26 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5dbc3f4fe8..a87808b174 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1776,8 +1776,32 @@ little-endian.")
        (("rust-quickcheck" ,rust-quickcheck-0.2)
         ("rust-rand" ,rust-rand-0.3))))))
 
-(define-public rust-bytes-0.4
+(define-public rust-bytes-0.5
   (package
+    (name "rust-bytes")
+    (version "0.5.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "bytes" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1q9r7si1l8vndg4n2ny2nv833ghp5vyqzk5indb9rmhd5ibaq2hk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t ;; FIXME requires Raus >= 1.39
+       #:cargo-inputs
+       (("rust-serde" ,rust-serde-1.0))
+       #:cargo-development-inputs
+       (("rust-loom" ,rust-loom-0.2)
+        ("rust-serde-test" ,rust-serde-test-1.0))))
+    (home-page "https://github.com/tokio-rs/bytes")
+    (synopsis "Types and traits for working with bytes")
+    (description "Types and traits for working with bytes.")
+    (license license:expat)))
+
+(define-public rust-bytes-0.4
+  (package/inherit rust-bytes-0.5
     (name "rust-bytes")
     (version "0.4.12")
     (source
@@ -1798,13 +1822,7 @@ little-endian.")
         ("rust-iovec" ,rust-iovec-0.1)
         ("rust-serde" ,rust-serde-1.0))
        #:cargo-development-inputs
-       (("rust-serde-test" ,rust-serde-test-1.0))))
-    (home-page "https://github.com/tokio-rs/bytes")
-    (synopsis
-     "Types and traits for working with bytes")
-    (description
-     "Types and traits for working with bytes.")
-    (license license:expat)))
+       (("rust-serde-test" ,rust-serde-test-1.0))))))
 
 (define-public rust-bytes-0.3
   (package
-- 
2.21.3

  parent reply	other threads:[~2020-04-26 16:48 UTC|newest]

Thread overview: 107+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-26 16:44 [bug#40874] [PATCH 00/94] Add sequoia pgp, rust-nettle, and 90 rust package Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 01/94] gnu: Update rust-failure-0.1 to 0.1.7 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 02/94] gnu: Update rust-failure-derive-0.1 " Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 03/94] gnu: Update rust-unicode-normalization-0.1 to 0.1.9 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 04/94] gnu: Update rust-wasm-bindgen-futures-0.3 to 0.3.27 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 05/94] gnu: Update rust-wasm-bindgen-test-0.2 to 0.2.50 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 06/94] gnu: Update rust-syn-1.0 to 1.0.17 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 07/94] gnu: Replace rust-synstructure-0.10 by 0.12.3 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 08/94] gnu: Add rust-ascii-canvas-2 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 09/94] gnu: Add rust-assert-cli-0.6 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 10/94] gnu: Add rust-base64-0.9 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 11/94] gnu: Add rust-bindgen-0.51 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 12/94] gnu: Add rust-bindgen-0.49 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 13/94] gnu: Add rust-bitflags-0.5 Hartmut Goebel
2020-04-26 16:44 ` Hartmut Goebel [this message]
2020-04-26 16:44 ` [bug#40874] [PATCH 15/94] gnu: Add rust-capnp-0.10 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 16/94] gnu: Add rust-capnpc-0.10 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 17/94] gnu: Add rust-capnp-futures-0.10 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 18/94] gnu: Add rust-capnp-rpc-0.10 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 19/94] gnu: Add rust-colored-1 Hartmut Goebel
2020-04-26 16:44 ` [bug#40874] [PATCH 20/94] gnu: Add rust-crossterm-winapi-0.4 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 21/94] gnu: Add rust-crossterm-0.13 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 22/94] gnu: Add rust-ctor-0.1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 23/94] gnu: Add rust-ct-logs-0.3 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 24/94] gnu: Add rust-derive-new-0.5 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 25/94] gnu: Add rust-derive-builder-0.5 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 26/94] gnu: Add rust-derive-builder-core-0.2 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 27/94] gnu: Add rust-difference-1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 28/94] gnu: Add rust-docmatic-0.1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 29/94] gnu: Add rust-dogged-0.2 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 30/94] gnu: Add rust-docopt-0.8 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 31/94] gnu. Add rust-ena-0.13 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 32/94] gnu: Add rust-environment-0.1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 33/94] gnu: Add rust-expectest-0.9 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 34/94] gnu: Add rust-fallible-streaming-iterator-0.1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 35/94] gnu: Add rust-futures-timer-0.1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 36/94] gnu: Add rust-fs2-0.4 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 37/94] gnu: Add rust-h2-0.1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 38/94] gnu: Add rust-hex-0.2 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 39/94] gnu: Add rust-http-0.2 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 40/94] gnu: Add rust-http-body-0.3 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 41/94] gnu: Add rust-http-body-0.1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 42/94] gnu: Add rust-hyper-0.12 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 43/94] gnu: Add rust-hyper-tls-0.3 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 44/94] gnu: Add rust-lalrpop-util-0.17 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 45/94] gnu: Add rust-lalrpop-0.17 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 46/94] gnu: Add rust-libc-print-0.1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 47/94] gnu: Add rust-libsqlite3-sys-0.15 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 48/94] gnu: Add rust-loom-0.2 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 49/94] gnu: Add rust-loom-0.3 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 50/94] gnu: Add rust-lru-cache-0.1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 51/94] gnu: Add rust-mach-o-sys-0.1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 52/94] gnu: Add rust-memsec-0.5 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 53/94] gnu: Add rust-parity-tokio-ipc-0.4 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 54/94] gnu: Add rust-pin-project-lite-0.1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 55/94] gnu: Add rust-prettytable-rs-0.8 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 56/94] gnu: Add rust-pretty-assertions-0.2 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 57/94] gnu: Add rust-pretty-env-logger-0.3 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 58/94] gnu: Add rust-pulldown-cmark-0.0.8 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 59/94] gnu: Add rust-rayon-0.8 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 60/94] gnu: Add rust-ring-0.16 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 61/94] gnu: Add rust-ring-0.13 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 62/94] gnu: Add rust-rpassword-4 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 63/94] gnu: Add rust-rspec-1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 64/94] gnu: Add rust-rusqlite-0.19 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 65/94] gnu: Add rust-rustls-0.16 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 66/94] gnu: Add rust-rustls-0.12 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 67/94] gnu: Add rust-sct-0.6 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 68/94] gnu: Add rust-sct-0.3 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 69/94] gnu: Add rust-sha2-asm-0.5 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 70/94] gnu: Add rust-sha2-0.8 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 71/94] gnu: Add rust-skeptic-0.9 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 72/94] gnu: Add rust-spmc-0.3 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 73/94] gnu: Add rust-string-0.2 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 74/94] gnu: Add rust-term-0.2 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 75/94] gnu: Add rust-tokio-0.2 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 76/94] gnu: Add rust-tokio-buf-0.1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 77/94] gnu: Add rust-tokio-macros-0.2 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 78/94] gnu: Add rust-tokio-named-pipes-0.1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 79/94] gnu: Add rust-tokio-mockstream-1 Hartmut Goebel
2020-04-26 16:45 ` [bug#40874] [PATCH 80/94] gnu: Add rust-tokio-rustls-0.12 Hartmut Goebel
2020-04-26 16:46 ` [bug#40874] [PATCH 81/94] gnu: Add rust-tokio-test-0.2 Hartmut Goebel
2020-04-26 16:46 ` [bug#40874] [PATCH 82/94] gnu: Add rust-untrusted-0.6 Hartmut Goebel
2020-04-26 16:46 ` [bug#40874] [PATCH 83/94] gnu: Add rust-want-0.2 Hartmut Goebel
2020-04-26 16:46 ` [bug#40874] [PATCH 84/94] gnu: Add rust-webpki-0.21 Hartmut Goebel
2020-04-26 16:46 ` [bug#40874] [PATCH 85/94] gnu: Add rust-webpki-0.18 Hartmut Goebel
2020-04-26 16:46 ` [bug#40874] [PATCH 86/94] gnu: Add rust-webpki-roots-0.18 Hartmut Goebel
2020-04-26 16:46 ` [bug#40874] [PATCH 87/94] gnu: Add rust-webpki-roots-0.17 Hartmut Goebel
2020-04-26 16:46 ` [bug#40874] [PATCH 88/94] gnu: Add rust-webpki-roots-0.14 Hartmut Goebel
2020-04-26 16:46 ` [bug#40874] [PATCH 89/94] gnu: Add rust-which-3 Hartmut Goebel
2020-04-26 16:46 ` [bug#40874] [PATCH 90/94] gnu: Add rust-zbase32-0.1 Hartmut Goebel
2020-04-26 16:46 ` [bug#40874] [PATCH 91/94] gnu: Add nettle-src Hartmut Goebel
2020-04-26 16:46 ` [bug#40874] [PATCH 92/94] gnu: Add rust-nettle-sys-2 Hartmut Goebel
2020-04-26 16:46 ` [bug#40874] [PATCH 93/94] gnu: Add rust-nettle-7 Hartmut Goebel
2020-05-04  8:59   ` Efraim Flashner
2020-05-04 10:47     ` Hartmut Goebel
2020-05-04 10:59       ` Efraim Flashner
2020-05-04 15:14         ` Hartmut Goebel
2020-05-04 15:11   ` [bug#40874] [PATCH v2 2/3] gnu: Add rust-nettle-sys-2 Hartmut Goebel
2020-05-04 15:11   ` [bug#41079] [PATCH v2 3/3] gnu: Add rust-nettle-7 Hartmut Goebel
2020-05-04 16:10     ` [bug#40874] " Efraim Flashner
2020-05-05 11:57       ` bug#40874: " Hartmut Goebel
2020-04-26 16:46 ` [bug#40874] [PATCH 94/94] gnu: Add sequoia Hartmut Goebel
2020-04-30 22:54 ` [bug#40874] [PATCH 00/94] Add sequoia pgp, rust-nettle, and 90 rust package Ludovic Courtès
2020-05-01 19:50   ` Christopher Baines
2020-05-02 18:30     ` Hartmut Goebel
2020-05-02 22:15       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8882d2c37b7a32f9209fc554cfb6f67b7f59b266.1587919229.git.h.goebel@crazy-compilers.com \
    --to=h.goebel@crazy-compilers.com \
    --cc=40874@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).