summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorphodina <phodina@protonmail.com>2021-09-03 22:50:57 +0000
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-09-17 12:24:32 +0200
commit888314475729873787223b6572e028c0d0719189 (patch)
tree9e91e0f2f23d2b286e7ef947af7221d7d53e3937 /gnu
parent6c3a169eacf46f21116bcf7b909004b9773cb670 (diff)
downloadguix-888314475729873787223b6572e028c0d0719189.tar.gz
gnu: Add rust-buffering-nocopy-macro-0.1.
* gnu/packages/crates-io.scm (rust-buffering-nocopy-macro-0.1): New variable.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8f1338e444..429867c879 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6231,6 +6231,29 @@ system calls.  Second, exposing the internal buffer allows the user to work
 with data in place, which avoids another copy.")
     (license license:gpl3)))
 
+(define-public rust-buffering-nocopy-macro-0.1
+  (package
+    (name "rust-buffering-nocopy-macro")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "buffering_nocopy_macro" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "03b6wp4i3273jzw2nbnrnddlxyma3p465y2dszx6vc3ysq0fdlj7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-0.4)
+        ("rust-quote" ,rust-quote-0.6)
+        ("rust-syn" ,rust-syn-0.14))))
+    (home-page "https://github.com/jbaublitz/buffering")
+    (synopsis "Proc-macro crate for buffering")
+    (description "This package provides a proc-macro crate for buffering.")
+    (license license:bsd-3)))
+
 (define-public rust-bufstream-0.1
   (package
     (name "rust-bufstream")