diff mbox series

[bug#56074,gnu:,Add,dua-cli.,13/27] gnu: Add rust-object-0.28.

Message ID 20220618195656.10108-14-antlers@luris.net
State New
Headers show
Series gnu: Add dua-cli. | 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 18, 2022, 7:56 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 bdf4f67fb7 d3dab258f1 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 bdf4f67fb7..d3dab258f1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39045,7 +39045,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)
@@ -39054,7 +39054,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
@@ -39088,10 +39088,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
@@ -39167,7 +39197,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
@@ -39193,6 +39223,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
@@ -39204,7 +39235,6 @@  (define-public rust-object-0.12
        (sha256
         (base32
          "1dch1ajjp05d16lig1dnvisfis0hrlrvw9lcwy1hwgdcym3z6jnz"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -39214,13 +39244,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