guix-commits
[Top][All Lists]
Advanced

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

05/62: gnu: Add rust-cfg-vis-0.3.


From: guix-commits
Subject: 05/62: gnu: Add rust-cfg-vis-0.3.
Date: Wed, 13 Mar 2024 16:22:13 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit a2699536a87565f525de6b01f13943ab3435398d
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:02:04 2024 +0100

    gnu: Add rust-cfg-vis-0.3.
    
    * gnu/packages/crates-io.scm (rust-cfg-vis-0.3): Add variable.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 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 0c1a20e9bb..35a1c1dc16 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10563,6 +10563,29 @@ chain, the first matching branch is the item that gets 
emitted.")
        (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
         ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
 
+(define-public rust-cfg-vis-0.3
+  (package
+    (name "rust-cfg-vis")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "cfg-vis" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1745qzkxar9yd3wy4gzzsakv1cjcibhgnr3m2p5f43y1byzw78n3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/TOETOE55/cfg-vis";)
+    (synopsis "Macro to support `#[cfg()]` on visibility")
+    (description
+     "This package provides a macro to support `#[cfg()]` on visibility.")
+    (license license:expat)))
+
 (define-public rust-chan-0.1
   (package
     (name "rust-chan")



reply via email to

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