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.
This commit is contained in:
Marius Bakke 2022-07-24 00:53:49 +02:00
parent 75bc96ed8e
commit 6fd0b018c6
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -69277,8 +69277,28 @@ (define-public rust-version-check-0.1
(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 @@ (define-public rust-version-compare-0.0.11
(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)