guix-devel
[Top][All Lists]
Advanced

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

[PATCH 68/86] gnu: Add rust-rustc-version.


From: ng0
Subject: [PATCH 68/86] gnu: Add rust-rustc-version.
Date: Tue, 3 Jan 2017 23:36:24 +0000

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

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index ccb299449..51c603dab 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1862,3 +1862,26 @@ and serializing Rust structures.")
     (description
      "@code{semver} provides semantic version parsing and comparison.")
     (license (list license:expat license:asl2.0))))
+
+(define-public rust-rustc-version
+  (package
+    (name "rust-rustc-version")
+    (version "0.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rustc_version" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1160jjsqhqr25cvhr48hmpp8v61bjvjcnxzb0cyf4373lmp3gxf5"))))
+    (build-system cargo-build-system)
+    (inputs
+     `(("rust-semver" ,rust-semver "src")))
+    (home-page "https://github.com/Kimundi/rustc-version-rs";)
+    (synopsis "Library for querying the version of a installed rustc compiler")
+    (description
+     "Rustc-version provides a library for querying
+the version of a installed rustc compiler.")
+    (license (list license:expat license:asl2.0))))
-- 
2.11.0




reply via email to

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