summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-07-24 00:53:49 +0200
committerMarius Bakke <marius@gnu.org>2022-07-27 12:31:24 +0200
commit6fd0b018c6dbcf89b02417fa50e9892366a7b879 (patch)
treec1406d82738b41ab78471a71eedfbdc40f407ec3 /gnu
parent75bc96ed8eccb84e4822d7ec5b9a70e98642e156 (diff)
gnu: rust-version-compare: Add 0.1.
* gnu/packages/crates-io.scm (rust-version-compare-0.1): New variable. (rust-version-compare-0.0.11): Inherit from it.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 21 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3ea747cbf8..1b2a284161 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69277,8 +69277,28 @@ If that fails, no determination is made, and calls return None.")
(base32
"1pf91pvj8n6akh7w6j5ypka6aqz08b3qpzgs0ak2kjf4frkiljwi"))))))
+(define-public rust-version-compare-0.1
+ (package
+ (name "rust-version-compare")
+ (version "0.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "version-compare" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0wyasmnqqngvm54x0gsxbwpxznvn747jkp0dx1nnppy1j9xj927y"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/timvisee/version-compare")
+ (synopsis "Rust library to easily compare version numbers")
+ (description
+ "This package provides a Rust library to easily compare version
+numbers, and test them against various comparison operators.")
+ (license license:expat)))
+
(define-public rust-version-compare-0.0.11
(package
+ (inherit rust-version-compare-0.1)
(name "rust-version-compare")
(version "0.0.11")
(source
@@ -69288,14 +69308,7 @@ If that fails, no determination is made, and calls return None.")
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "06v688jg6gd00zvm3cp7qh2h3mz8cs2ngr09bnwxhyddxrcwh60w"))))
- (build-system cargo-build-system)
- (home-page "https://github.com/timvisee/version-compare")
- (synopsis "Rust library to easily compare version numbers")
- (description
- "This package provides a Rust library to easily compare version
-numbers, and test them against various comparison operators.")
- (license license:expat)))
+ (base32 "06v688jg6gd00zvm3cp7qh2h3mz8cs2ngr09bnwxhyddxrcwh60w"))))))
(define-public rust-version-compare-0.0 rust-version-compare-0.0.11)