unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Z572 via Guix-patches via <guix-patches@gnu.org>
To: 53208@debbugs.gnu.org
Subject: [bug#53208] [PATCH 31/39] gnu: Add rust-object-0.28.
Date: Wed, 12 Jan 2022 23:27:51 +0800	[thread overview]
Message-ID: <tencent_D652ADB21CFE2C75E8CABB4A706A25361509@qq.com> (raw)
In-Reply-To: <d6f9273c440cb5f31af927622fd8ad086117859b.1641998630.git.873216071@qq.com>

* gnu/packages/crates-io.scm (rust-object-0.28): New variable.
(rust-object-0.24): Inherit from above.
---
 gnu/packages/crates-io.scm | 49 ++++++++++++++++++++++++++++++++++----
 1 file changed, 45 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9dce8a07e4..8e4c6e6f47 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -35255,10 +35255,10 @@ (define-public rust-objc-test-utils-0.0
      "This package provides utilities for testing Objective-C interop.")
     (license license:expat)))
 
-(define-public rust-object-0.24
+(define-public rust-object-0.28
   (package
     (name "rust-object")
-    (version "0.24.0")
+    (version "0.28.2")
     (source
      (origin
        (method url-fetch)
@@ -35267,7 +35267,7 @@ (define-public rust-object-0.24
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0w21hp41mixzaavsdpjylbylh44z2b5d2wbnf5ipkvkjq38ksnqs"))))
+         "1wgv6gx69rpn4jjqs24kvafwsic1q06iaafs5mb9hy34hp7c3x89"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -35276,14 +35276,24 @@ (define-public rust-object-0.24
          ,rust-compiler-builtins-0.1)
         ("rust-crc32fast" ,rust-crc32fast-1)
         ("rust-flate2" ,rust-flate2-1)
+        ("rust-hashbrown" ,rust-hashbrown-0.11)
         ("rust-indexmap" ,rust-indexmap-1)
+        ("rust-memchr" ,rust-memchr-2)
         ("rust-rustc-std-workspace-alloc"
          ,rust-rustc-std-workspace-alloc-1)
         ("rust-rustc-std-workspace-core"
          ,rust-rustc-std-workspace-core-1)
         ("rust-wasmparser" ,rust-wasmparser-0.57))
        #:cargo-development-inputs
-       (("rust-memmap" ,rust-memmap-0.7))))
+       (("rust-memmap" ,rust-memmap-0.7))
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'fix-version-requirements
+           (lambda _
+             (substitute* "Cargo.toml"
+               (("1.6.\\*")
+                ,(package-version rust-indexmap-1)))
+             #t)))))
     (home-page "https://github.com/gimli-rs/object")
     (synopsis "Unified interface for reading and writing object file formats")
     (description
@@ -35291,6 +35301,37 @@ (define-public rust-object-0.24
 file formats.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-object-0.24
+  (package
+    (inherit rust-object-0.28)
+    (name "rust-object")
+    (version "0.24.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "object" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0w21hp41mixzaavsdpjylbylh44z2b5d2wbnf5ipkvkjq38ksnqs"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-compiler-builtins"
+         ,rust-compiler-builtins-0.1)
+        ("rust-crc32fast" ,rust-crc32fast-1)
+        ("rust-flate2" ,rust-flate2-1)
+        ("rust-indexmap" ,rust-indexmap-1)
+        ("rust-rustc-std-workspace-alloc"
+         ,rust-rustc-std-workspace-alloc-1)
+        ("rust-rustc-std-workspace-core"
+         ,rust-rustc-std-workspace-core-1)
+        ("rust-wasmparser" ,rust-wasmparser-0.57))
+       #:cargo-development-inputs
+       (("rust-memmap" ,rust-memmap-0.7))))))
+
 (define-public rust-object-0.23
   (package
     (inherit rust-object-0.24)
-- 
2.34.0





  parent reply	other threads:[~2022-01-12 15:36 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <d6f9273c440cb5f31af927622fd8ad086117859b.1641998630.git.873216071@qq.com>
2022-01-12 15:27 ` [bug#53208] [PATCH 02/39] gnu: Add rust-matchers-0.1 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 03/39] gnu: Add rust-countme-3 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 04/39] gnu: Add rust-windows-x86-64-msvc-0.28 Z572 via Guix-patches via
2022-01-21 19:30   ` Maxime Devos
     [not found]     ` <87iluc4cac.fsf@qq.com>
2022-01-22  3:37       ` Z572 via Guix-patches via
2022-01-23  1:39       ` Tobias Geerinckx-Rice via Guix-patches via
2022-01-23 21:02         ` Maxime Devos
     [not found]           ` <87ilu9qw6h.fsf@qq.com>
2022-01-24 10:01             ` Z572 via Guix-patches via
     [not found]         ` <87mtjlqwq5.fsf@qq.com>
2022-01-24  9:55           ` Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 05/39] gnu: Add rust-windows-x86-64-gnu-0.28 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 06/39] gnu: Add rust-windows-i686-msvc-0.28 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 07/39] gnu: Add rust-windows-i686-gnu-0.28 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 08/39] gnu: Add rust-windows-aarch64-msvc-0.28 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 09/39] gnu: Add rust-windows-sys-0.28 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 10/39] gnu: Add rust-miow-0.4 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 11/39] gnu: rust-smol-str-0.1: Update to 0.1.21 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 12/39] gnu: rust-tracing-core-0.1: " Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 13/39] gnu: Add rust-rustc-ap-rustc-lexer-725 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 14/39] gnu: Add rust-rowan-0.15 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 15/39] gnu: Add rust-cov-mark-2 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 16/39] gnu: rust-tracing-log-0.1: Update to 0.1.2 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 17/39] gnu: Add rust-tracing-subscriber-0.3 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 18/39] gnu: rust-salsa-macros-0.17: Update to 0.17.0-pre.2 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 19/39] gnu: rust-salsa-0.17: " Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 20/39] gnu: Add rust-tracing-tree-0.2 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 21/39] gnu: rust-expat-sys-2: Update to 1.2.2 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 22/39] gnu: rust-ungrammar-1: Update to 1.14.9 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 23/39] gnu: Add rust-cargo-metadata-0.14 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 24/39] gnu: rust-synstructure-0.12: Update to 0.12.6 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 25/39] gnu: Add rust-chalk-derive-0.75 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 26/39] gnu: Add rust-chalk-ir-0.75 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 27/39] gnu: Add rust-chalk-solve-0.75 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 28/39] gnu: Add rust-chalk-recursive-0.75 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 29/39] gnu: Add rust-pulldown-cmark-to-cmark-7 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 30/39] gnu: rust-memchr-2: Update to 2.4.1 Z572 via Guix-patches via
2022-01-12 15:27 ` Z572 via Guix-patches via [this message]
2022-01-12 15:27 ` [bug#53208] [PATCH 32/39] gnu: Add rust-lsp-types-0.91 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 33/39] gnu: Add rust-kqueue-sys-1 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 34/39] gnu: Add rust-kqueue-1 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 35/39] gnu: Add rust-fsevent-sys-4 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 36/39] gnu: rust-normalize-line-endings-0.2: Update to 5.0.0-pre.13 Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 37/39] gnu: rust-pulldown-cmark-0.8: update #:cargo-inputs rust-bitflags Z572 via Guix-patches via
2022-01-12 15:27 ` [bug#53208] [PATCH 38/39] gnu: rust-analyzer: Update to 2022-01-10 Z572 via Guix-patches via
2022-01-23  1:00   ` Leo Famulari
2022-01-23  8:35     ` Nicolas Goaziou
2022-01-23 18:53       ` Leo Famulari
2022-01-12 15:27 ` [bug#53208] [PATCH 39/39] gnu: rust-analyzer: Make it out of box Z572 via Guix-patches via
2022-01-20 23:23   ` Nicolas Goaziou
     [not found]     ` <87ee504am6.fsf@qq.com>
2022-01-22  4:37       ` Z572 via Guix-patches via
2022-01-22 16:04         ` Nicolas Goaziou

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=tencent_D652ADB21CFE2C75E8CABB4A706A25361509@qq.com \
    --to=guix-patches@gnu.org \
    --cc=53208@debbugs.gnu.org \
    --cc=873216071@qq.com \
    /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).