guix-commits
[Top][All Lists]
Advanced

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

64/330: gnu: Add rust-condtype-1.


From: guix-commits
Subject: 64/330: gnu: Add rust-condtype-1.
Date: Mon, 18 Mar 2024 07:15:13 -0400 (EDT)

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

commit 1540b2cc94350f916f0a065b425caac732d18a12
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 12:42:59 2024 +0200

    gnu: Add rust-condtype-1.
    
    * gnu/packages/crates-io.scm (rust-condtype-1): New variable.
    
    Change-Id: I6c5e6f3149072c0eb7be671b0d5f751690e9ab36
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index df483e49bc..fec1b13c2c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12774,6 +12774,26 @@ stores strings on the stack, when possible.")
 minutes, seconds.")
     (license license:bsd-3)))
 
+(define-public rust-condtype-1
+  (package
+    (name "rust-condtype")
+    (version "1.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "condtype" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1by78npyhkc30jccc7kirvwip1fj0jhi2bwfmcw44dqz81xa1w5s"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                                   ("rust-libc" ,rust-libc-0.2))))
+    (home-page "https://github.com/nvzqz/condtype";)
+    (synopsis "Choose types at compile-time via boolean constants")
+    (description "Choose types at compile-time via boolean constants.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-const-cstr-0.3
   (package
     (name "rust-const-cstr")



reply via email to

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