From 1739de9a1071c1e39cc5c04ccbf75e35cb7f78da Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 16 Sep 2020 19:45:33 +0530 Subject: [PATCH] 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 40eb9435cc..6cd485d7a9 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -3812,6 +3812,25 @@ (define-public rust-console-log-0.1 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")