@@ -47281,6 +47281,29 @@ (define-public rust-rustc-tools-util-0.2
"small helper to generate version information for git packages")
(license (list license:expat license:asl2.0))))
+(define-public rust-rustc-version-0.4
+ (package
+ (name "rust-rustc-version")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustc-version" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rpk9rcdk405xhbmgclsh4pai0svn49x35aggl4nhbkd4a2zb85z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-semver" ,rust-semver-1))))
+ (home-page "https://github.com/Kimundi/rustc-version-rs")
+ (synopsis "Library for querying the version of an installed rustc compiler")
+ (description
+ "This package provides a library for querying the version of an installed
+rustc compiler.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rustc-version-0.3
(package
(name "rust-rustc-version")