guix-commits
[Top][All Lists]
Advanced

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

28/471: gnu: Add rust-cargo-util-0.2.


From: guix-commits
Subject: 28/471: gnu: Add rust-cargo-util-0.2.
Date: Wed, 3 May 2023 09:26:51 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit a237e4c0b7cf498ba5ccc6ae02b8f62546887552
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 10:30:55 2023 +0200

    gnu: Add rust-cargo-util-0.2.
    
    * gnu/packages/crates-io.scm (rust-cargo-util-0.2): New variable.
    (rust-cargo-util-0.1): Inherit from rust-cargo-util-0.2.
---
 gnu/packages/crates-io.scm | 44 +++++++++++++++++++++++++++++++++++++++++---
 1 file changed, 41 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4135d756c0..8083052a7a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9857,10 +9857,10 @@ optional dependency graph analysis.")
 supported by Cargo.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-cargo-util-0.1
+(define-public rust-cargo-util-0.2
   (package
     (name "rust-cargo-util")
-    (version "0.1.2")
+    (version "0.2.3")
     (source
      (origin
        (method url-fetch)
@@ -9869,13 +9869,51 @@ supported by Cargo.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "1sz0gzcyp9ycb4zwj69qs9gd8kn9hv9nh2dq42c59x5xccqph755"))))
+         "13wl16p29256rvrsnsr89bifkz1n3m96irwxv6w0w49fb00cvq74"))))
     (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-core-foundation" ,rust-core-foundation-0.9)
+        ("rust-crypto-hash" ,rust-crypto-hash-0.3)
+        ("rust-filetime" ,rust-filetime-0.2)
+        ("rust-hex" ,rust-hex-0.4)
+        ("rust-jobserver" ,rust-jobserver-0.1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-miow" ,rust-miow-0.5)
+        ("rust-same-file" ,rust-same-file-1)
+        ("rust-shell-escape" ,rust-shell-escape-0.1)
+        ("rust-tempfile" ,rust-tempfile-3)
+        ("rust-walkdir" ,rust-walkdir-2)
+        ("rust-winapi" ,rust-winapi-0.3))))
+    (inputs
+     (list openssl))
+    (native-inputs
+     (list pkg-config))
     (home-page "https://github.com/rust-lang/cargo";)
     (synopsis "Utilities for Cargo")
     (description "Miscellaneous support code used by Cargo.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-cargo-util-0.1
+  (package
+    (inherit rust-cargo-util-0.2)
+    (name "rust-cargo-util")
+    (version "0.1.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cargo-util" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1sz0gzcyp9ycb4zwj69qs9gd8kn9hv9nh2dq42c59x5xccqph755"))))
+    (arguments '())
+    (inputs '())
+    (native-inputs '())))
+
 (define-public rust-cargon-0.0
   (package
     (name "rust-cargon")



reply via email to

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