guix-patches
[Top][All Lists]
Advanced

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

[bug#50362] [PATCH 19/26] gnu: Add rust-buffering-0.3.


From: phodina
Subject: [bug#50362] [PATCH 19/26] gnu: Add rust-buffering-0.3.
Date: Fri, 03 Sep 2021 22:51:53 +0000

* gnu/packages/crates-io.scm (rust-buffering-0.3): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e59ade77d5..240036e3f9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -6185,10 +6185,39 @@ 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
+(define-public rust-buffering-0.3
+  (package
+    (name "rust-buffering")
+    (version "0.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "buffering" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "11cyq2nm569j028g93jxk00h8nfwc3l6n3hqw79w34na01p3lq97"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build?
+       #t
+       #:cargo-inputs
+       (("rust-buffering-nocopy-macro"
+         ,rust-buffering-nocopy-macro-0.1))))
+    (home-page
+     "https://github.com/jbaublitz/buffering";)
+    (synopsis
+     "Library primarily designed for network packet buffer operations")
+    (description
+     "This package provides a library primarily designed for network packet
+buffer operations")
+    (license license:bsd-3)))
+
+(define-public rust-buffering-nocopy-macro-0.2
   (package
     (name "rust-buffering-nocopy-macro")
-    (version "0.1.1")
+    (version "0.2.2")
     (source
      (origin
        (method url-fetch)
@@ -6197,15 +6226,14 @@ with data in place, which avoids another copy.")
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "03b6wp4i3273jzw2nbnrnddlxyma3p465y2dszx6vc3ysq0fdlj7"))))
+         "0a8zs7s5z0f977g7zx95b8sf8gqa8iwh13rj639wk080d00l5kaa"))))
     (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))))
+       (("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))
     (home-page
      "https://github.com/jbaublitz/buffering";)
     (synopsis "Proc-macro crate for buffering")
@@ -6213,6 +6241,28 @@ with data in place, which avoids another copy.")
      "This package provides a proc-macro crate for buffering")
     (license license:bsd-3)))

+(define-public rust-buffering-nocopy-macro-0.1
+  (package
+    (inherit rust-buffering-nocopy-macro-0.2)
+    (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"))))
+    (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))))))
+
 (define-public rust-bufstream-0.1
   (package
     (name "rust-bufstream")
--
2.32.0





reply via email to

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