guix-commits
[Top][All Lists]
Advanced

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

45/188: gnu: Add rust-const-fn-0.4.


From: guix-commits
Subject: 45/188: gnu: Add rust-const-fn-0.4.
Date: Mon, 12 Oct 2020 02:24:46 -0400 (EDT)

arunisaac pushed a commit to branch master
in repository guix.

commit 1739de9a1071c1e39cc5c04ccbf75e35cb7f78da
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Wed Sep 16 19:45:33 2020 +0530

    gnu: Add rust-const-fn-0.4.
    
    * gnu/packages/crates-io.scm (rust-const-fn-0.4): New variable.
---
 gnu/packages/crates-io.scm | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 40eb943..6cd485d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3812,6 +3812,25 @@ that logs panics to @code{console.error}.")
 the browser's console.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-const-fn-0.4
+  (package
+    (name "rust-const-fn")
+    (version "0.4.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "const-fn" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1wnhzyrhfcaawnzi172k98cfawwi5zwqql7pg0nz2qlccm6dz46f"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/taiki-e/const_fn";)
+    (synopsis "Generate const functions with conditional compilations")
+    (description "This package provides an attribute for easy generation of
+const functions with conditional compilations.")
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-constant-time-eq-0.1
   (package
     (name "rust-constant-time-eq")



reply via email to

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