guix-commits
[Top][All Lists]
Advanced

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

126/308: gnu: Add rust-versions-6.


From: guix-commits
Subject: 126/308: gnu: Add rust-versions-6.
Date: Wed, 4 Dec 2024 16:20:54 -0500 (EST)

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

commit e3dea07cd2469621d9d6a3949629be291f891718
Author: Jordan Moore <lockbox@struct.foo>
AuthorDate: Mon Dec 2 22:00:46 2024 -0500

    gnu: Add rust-versions-6.
    
    * gnu/packages/crates-io.scm (rust-versions-6): New variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f6feca9892..c4a80ee7fd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -93858,6 +93858,32 @@ updated when the crate version changes.")
         ("rust-toml" ,rust-toml-0.4)
         ("rust-url" ,rust-url-1))))))
 
+(define-public rust-versions-6
+  (package
+    (name "rust-versions")
+    (version "6.3.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "versions" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ff12avdiqhiv6nanikkjl1x3s2y7amkj3r5nivb7zficf5ljpgj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-itertools" ,rust-itertools-0.13)
+                       ("rust-nom" ,rust-nom-7)
+                       ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-semver" ,rust-semver-1)
+                                   ("rust-semver-parser" 
,rust-semver-parser-0.10)
+                                   ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/fosskers/rs-versions";)
+    (synopsis "Library for parsing and comparing software version numbers")
+    (description
+     "This package provides a library for parsing and comparing software 
version
+numbers.")
+    (license license:expat)))
+
 (define-public rust-vlq-0.5
   (package
     (name "rust-vlq")



reply via email to

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