guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/39: gnu: Add rust-object-0.23.


From: guix-commits
Subject: 02/39: gnu: Add rust-object-0.23.
Date: Wed, 10 Mar 2021 17:52:13 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit b6a627e9c0beee3bc24044dfd5319f59c642a24d
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Mar 10 16:09:42 2021 +0100

    gnu: Add rust-object-0.23.
    
    * gnu/packages/crates-io.scm (rust-object-0.23): New variable.
    (rust-object-0.17): Inherit from above.
---
 gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++++-------
 1 file changed, 31 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 99050a1..4f62f71 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25756,8 +25756,38 @@ Foundation framework.")
      "This package provides utilities for testing Objective-C interop.")
     (license license:expat)))
 
+(define-public rust-object-0.23
+  (package
+    (name "rust-object")
+    (version "0.23.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "object" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1m658q2ci9hk8csbl17zwcg1hpvcxm2sspjb9bzg0kc1cifsp9x9"))))
+    (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))))
+    (home-page "https://github.com/gimli-rs/object";)
+    (synopsis "Unified interface for reading and writing object file formats")
+    (description
+     "This package provides a unified interface for reading and writing object
+file formats.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-object-0.17
   (package
+    (inherit rust-object-0.23)
     (name "rust-object")
     (version "0.17.0")
     (source
@@ -25769,7 +25799,6 @@ Foundation framework.")
         (sha256
          (base32
           "1bmgbg4k0725lchfy9j1wnpfmywh5qhs0k4k6j2g7c0acvys8i7a"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
@@ -25780,12 +25809,7 @@ Foundation framework.")
         ("rust-uuid" ,rust-uuid-0.8)
         ("rust-flate2" ,rust-flate2-1)
         ("rust-crc32fast" ,rust-crc32fast-1)
-        ("rust-indexmap" ,rust-indexmap-1))))
-    (home-page "https://github.com/gimli-rs/object";)
-    (synopsis "Unified interface for reading and writing object file formats")
-    (description "This package provides a unified interface for reading and
-writing object file formats.")
-    (license (list license:asl2.0 license:expat))))
+        ("rust-indexmap" ,rust-indexmap-1))))))
 
 (define-public rust-object-0.12
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]