guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#53315] [PATCH 110/150] gnu: Add rust-rustc-version-0.4.


From: Aleksandr Vityazev
Subject: [bug#53315] [PATCH 110/150] gnu: Add rust-rustc-version-0.4.
Date: Mon, 17 Jan 2022 15:11:23 +0000

* gnu/packages/crates-io.scm (rust-rustc-version-0.4): New variable.
---
 gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 249bb8a45a..a26893eddb 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -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")
--
2.34.0



--

Aleksandr Vityazev





reply via email to

[Prev in Thread] Current Thread [Next in Thread]