From 6fd0b018c6dbcf89b02417fa50e9892366a7b879 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 24 Jul 2022 00:53:49 +0200 Subject: 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. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++-------- 1 file 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) -- cgit 1.4.1