diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 16:49:58 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-08-28 16:53:10 +0300 |
commit | 8aa60ffe8d67c64b68180ce345492318260ca58b (patch) | |
tree | 2f64dc21e5cbf63e19d0c69feacff86071333e37 /gnu/packages/crates-io.scm | |
parent | 6da1f9c6deb3741ca7d6e9b758aeee1677b957a7 (diff) | |
download | guix-patches-8aa60ffe8d67c64b68180ce345492318260ca58b.tar guix-patches-8aa60ffe8d67c64b68180ce345492318260ca58b.tar.gz |
gnu: Add rust-version-check.
* gnu/packages/crates-io.scm (rust-verison-check): New variable.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1b9127b147..bd57282364 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1852,6 +1852,30 @@ whitespace from a string.") untrusted inputs in Rust.") (license license:isc))) +(define-public rust-version-check + (package + (name "rust-version-check") + (version "0.9.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "version_check" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1kikqlnggii1rvnxrbls55sc46lxvinz5k3giscgncjj4p87b1q7")))) + (build-system cargo-build-system) + (home-page "https://github.com/SergioBenitez/version_check") + (synopsis "Check that the installed rustc meets some version requirements") + (description + "This tiny crate checks that the running or installed rustc meets some +version requirements. The version is queried by calling the Rust compiler with +@code{--version}. The path to the compiler is determined first via the +@code{RUSTC} environment variable. If it is not set, then @code{rustc} is used. +If that fails, no determination is made, and calls return None.") + (license (list license:asl2.0 + license:expat)))) + (define-public rust-wasi (package (name "rust-wasi") |