guix-commits
[Top][All Lists]
Advanced

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

27/63: gnu: Add rust-cargo-lock-9.


From: guix-commits
Subject: 27/63: gnu: Add rust-cargo-lock-9.
Date: Thu, 8 Feb 2024 14:09:34 -0500 (EST)

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

commit 53f85626b94a51e939063bbbcf265178928a3289
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Feb 8 10:24:54 2024 +0200

    gnu: Add rust-cargo-lock-9.
    
    * gnu/packages/crates-io.scm (rust-cargo-lock-9): New variable.
    (rust-cargo-lock-8): Inherit from rust-cargo-lock-9.
    
    Change-Id: I5c6a0c5755f5cd9927984a6745c31ded9ac9fefc
---
 gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++--------
 1 file changed, 28 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 65c4c3fb55..e95e1426a6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9248,8 +9248,35 @@ metadata}.")
         ("rust-serde" ,rust-serde-1)
         ("rust-serde-json" ,rust-serde-json-1))))))
 
+(define-public rust-cargo-lock-9
+  (package
+    (name "rust-cargo-lock")
+    (version "9.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cargo-lock" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0wmczs13psr8p9mc51w4r4pm900dbpbpipp87knlkd7gg19nf771"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-gumdrop" ,rust-gumdrop-0.8)
+                       ("rust-petgraph" ,rust-petgraph-0.6)
+                       ("rust-semver" ,rust-semver-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-toml" ,rust-toml-0.7)
+                       ("rust-url" ,rust-url-2))))
+    (home-page "https://rustsec.org";)
+    (synopsis "@file{Cargo.lock} parser with optional dependency graph 
analysis")
+    (description
+     "This package provides self-contained @file{Cargo.lock} parser with
+optional dependency graph analysis.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-cargo-lock-8
   (package
+    (inherit rust-cargo-lock-9)
     (name "rust-cargo-lock")
     (version "8.0.3")
     (source (origin
@@ -9258,7 +9285,6 @@ metadata}.")
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32 
"15nrkr11dnadmwvzjwn6yv8m20g3xw6yj2cayzgab2ppp3fih5q3"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-gumdrop" ,rust-gumdrop-0.8)
@@ -9266,13 +9292,7 @@ metadata}.")
         ("rust-semver" ,rust-semver-1)
         ("rust-serde" ,rust-serde-1)
         ("rust-toml" ,rust-toml-0.5)
-        ("rust-url" ,rust-url-2))))
-    (home-page "https://rustsec.org";)
-    (synopsis "@file{Cargo.lock} parser with optional dependency graph 
analysis")
-    (description
-     "This package provides self-contained @file{Cargo.lock} parser with
-optional dependency graph analysis.")
-    (license (list license:asl2.0 license:expat))))
+        ("rust-url" ,rust-url-2))))))
 
 (define-public rust-cargo-lock-7
   (package



reply via email to

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