diff mbox series

[bug#56057,bug,#56057,v2,12/21] gnu: Add rust-object-0.28.

Message ID 20220619172711.3413-13-antlers@luris.net
State New
Headers show
Series [bug#56057,bug,#56057,v2,01/21] gnu: Add rust-addr2line-0.17. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

antlers June 19, 2022, 5:27 p.m. UTC
* gnu/packages/crates-io.scm (rust-object-0.28): New variable.
(rust-object-0.24): Inherit from rust-object-0.27.
(rust-object-0.17): Inherit from rust-object-0.22.
(rust-object-0.12): Inherit from rust-object-0.17.
---
:100644 100644 4b9a3b1ca8 576417fd59 M	gnu/packages/crates-io.scm
 gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++----------
 1 file changed, 36 insertions(+), 12 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4b9a3b1ca8..576417fd59 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39204,7 +39204,7 @@  (define-public rust-objc-test-utils-0.0
 (define-public rust-object-0.28
   (package
     (name "rust-object")
-    (version "0.28.2")
+    (version "0.28.4")
     (source
      (origin
        (method url-fetch)
@@ -39213,7 +39213,7 @@  (define-public rust-object-0.28
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "1wgv6gx69rpn4jjqs24kvafwsic1q06iaafs5mb9hy34hp7c3x89"))))
+         "0964501nlfh806mik3f9v6n05mx74qa0w7byvn0sqpwm5lprhb74"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
@@ -39247,10 +39247,40 @@  (define-public rust-object-0.28
 file formats.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-object-0.24
+(define-public rust-object-0.27
   (package
     (inherit rust-object-0.28)
     (name "rust-object")
+    (version "0.27.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "object" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ygv9zgi9wz6q5f2z9xn72i0c97jjr1dgj30kbyicdhxk8zivb37"))))
+    (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-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))))
+    (home-page "https://github.com/gimli-rs/object")
+    (synopsis "Parse object file formats")
+    (description
+     "This package provides a unified interface for parsing object file
+formats.")
+    (license (list license:expat license:asl2.0))))
+
+(define-public rust-object-0.24
+  (package
+    (inherit rust-object-0.27)
+    (name "rust-object")
     (version "0.24.0")
     (source
      (origin
@@ -39326,7 +39356,7 @@  (define-public rust-object-0.22
 
 (define-public rust-object-0.17
   (package
-    (inherit rust-object-0.23)
+    (inherit rust-object-0.22)
     (name "rust-object")
     (version "0.17.0")
     (source
@@ -39352,6 +39382,7 @@  (define-public rust-object-0.17
 
 (define-public rust-object-0.12
   (package
+    (inherit rust-object-0.17)
     (name "rust-object")
     (version "0.12.0")
     (source
@@ -39363,7 +39394,6 @@  (define-public rust-object-0.12
        (sha256
         (base32
          "1dch1ajjp05d16lig1dnvisfis0hrlrvw9lcwy1hwgdcym3z6jnz"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -39373,13 +39403,7 @@  (define-public rust-object-0.12
         ("rust-scroll" ,rust-scroll-0.9)
         ("rust-uuid" ,rust-uuid-0.7))
        #:cargo-development-inputs
-       (("rust-memmap" ,rust-memmap-0.7))))
-    (home-page "https://github.com/gimli-rs/object")
-    (synopsis "Parse object file formats")
-    (description
-     "This package provides a unified interface for parsing object file
-formats.")
-    (license (list license:expat license:asl2.0))))
+       (("rust-memmap" ,rust-memmap-0.7))))))
 
 (define-public rust-odds-0.3
   (package