From 8b60c2010692dd4a2f4594dbb8792d6593789c42 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sat, 14 Dec 2019 14:12:48 -0800 Subject: [PATCH 057/206] gnu: Add rust-rustc-version-0.2. * gnu/packages/crates-io.scm (rust-rustc-version-0.2): New version. --- gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 82f0f3d8d5..a226a40bb4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -4363,6 +4363,31 @@ rust-lang/rust integration.") (license (list license:asl2.0 license:expat)))) +(define-public rust-rustc-version-0.2 + (package + (name "rust-rustc-version") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustc_version" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "02h3x57lcr8l2pm0a645s9whdh33pn5cnrwvn5cb57vcrc53x3hk")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-semver" ,rust-semver-0.9)))) + (home-page + "https://github.com/Kimundi/rustc-version-rs") + (synopsis + "Library for querying the version of a installed rustc compiler") + (description + "This package provides a library for querying the version of a installed +rustc compiler") + (license `(,license:expat ,license:asl2.0)))) + (define-public rust-ryu-1.0 (package (name "rust-ryu") -- 2.24.0