GNU bug report logs - #46192
[PATCH 01/22] gnu: Add rust-boxfnonce-0.1.

Previous Next

Package: guix-patches;

Reported by: aecepoglu <aecepoglu <at> fastmail.fm>

Date: Sat, 30 Jan 2021 14:12:01 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: aecepoglu <aecepoglu <at> fastmail.fm>
To: guix-patches <at> gnu.org
Subject: [PATCH 01/22] gnu: Add rust-boxfnonce-0.1.
Date: Sat, 30 Jan 2021 17:13:47 +0300
* gnu/packages/crates-io.scm (rust-boxfnonce-0.1): New variable.
---
 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 36f0b98112..1729929215 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4207,6 +4207,29 @@ programs.")
         ("rust-parking" ,rust-parking-1)
         ("rust-waker-fn" ,rust-waker-fn-1))))))
 
+(define-public rust-boxfnonce-0.1
+  (package
+    (name "rust-boxfnonce")
+    (version "0.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "boxfnonce" version))
+        (file-name
+          (string-append name "-" version ".tar.gz"))
+        (sha256
+          (base32
+            "09ilf4zyx92hyhkxlsxksfyprzr9iwq5gqqb22aaqr32c8fwp22r"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page
+      "https://github.com/stbuehler/rust-boxfnonce")
+    (synopsis "safe FnOnce boxing for rust < 1.35.0")
+    (description
+      "FnOnce boxing for rust. Obsolete since rust 1.35.0 in favour of
+@code{Box<dyn FnOnce(...) -> ...>}")
+    (license license:expat)))
+
 (define-public rust-bresenham-0.1
   (package
     (name "rust-bresenham")
-- 
2.30.0





This bug report was last modified 4 years and 189 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.