guix-commits
[Top][All Lists]
Advanced

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

03/45: gnu: Add rust-autocfg-0.1.


From: guix-commits
Subject: 03/45: gnu: Add rust-autocfg-0.1.
Date: Wed, 23 Oct 2019 03:49:11 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit c5050528ea7c52daad7697afa538a954163e5ec1
Author: Efraim Flashner <address@hidden>
Date:   Wed Oct 23 09:42:47 2019 +0300

    gnu: Add rust-autocfg-0.1.
    
    * gnu/packages/rust-cbindgen.scm (rust-autocfg-0.1): New hidden
    variable.
---
 gnu/packages/rust-cbindgen.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index c37b80e..35bc6b0 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -62,3 +62,26 @@ text or blue underlined text, on ANSI terminals.")
      "This package provides a simple interface for querying atty.")
     (properties '((hidden? . #t)))
     (license license:expat)))
+
+(define rust-autocfg-0.1
+  (package
+    (name "rust-autocfg")
+    (version "0.1.7")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "autocfg" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "1chwgimpx5z7xbag7krr9d8asxfqbh683qhgl9kn3hxk2l0djj8x"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/cuviper/autocfg";)
+    (synopsis "Automatic cfg for Rust compiler features")
+    (description "Rust library for build scripts to automatically configure
+code based on compiler support.  Code snippets are dynamically tested to see
+if the @code{rustc} will accept them, rather than hard-coding specific version
+support.")
+    (properties '((hidden? . #t)))
+    (license (list license:asl2.0
+                   license:expat))))



reply via email to

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