summary refs log tree commit diff
diff options
context:
space:
mode:
authoraecepoglu <aecepoglu@fastmail.fm>2021-02-04 14:35:39 +0300
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-04 15:48:27 +0100
commite1e077e972a57768b5aabe8a893f92a14d8d9c69 (patch)
treece8f3cb3015fdd96e8e92724bd7d1de984836cd8
parente7195e83c85a83131c0981bae2b6e5613669ebd1 (diff)
downloadguix-e1e077e972a57768b5aabe8a893f92a14d8d9c69.tar.gz
gnu: Add rust-boxfnonce-0.1.
* gnu/packages/crates-io.scm (rust-boxfnonce-0.1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
-rw-r--r--gnu/packages/crates-io.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dbf8c9d888..533a0488a3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -12,6 +12,7 @@
 ;;; Copyright © 2020 André Batista <nandre@riseup.net>
 ;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2020 Antoine Côté <antoine.cote@posteo.net>
+;;; Copyright © 2021 aecepoglu <aecepoglu@fastmail.fm>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4294,6 +4295,24 @@ 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")
+    (description "This package provides a safe FnOnce boxing for Rust.")
+    (license license:expat)))
+
 (define-public rust-bresenham-0.1
   (package
     (name "rust-bresenham")