diff options
author | phodina <phodina@protonmail.com> | 2021-09-17 08:50:59 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-09-17 12:24:33 +0200 |
commit | 6823129abfb21de6eb9cf856fa566ec93a3cb781 (patch) | |
tree | d6f4a5ae922a9dcb7d5ac6fb1e8a8d0c681c90f2 /gnu | |
parent | a6ffe34162bc6f841bdac33984b821c747e2daeb (diff) | |
download | guix-6823129abfb21de6eb9cf856fa566ec93a3cb781.tar.gz |
gnu: Add rust-buffering-0.3.
* gnu/packages/crates-io.scm (rust-buffering-0.3): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1103d753ac..b3fbeb56ad 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6231,6 +6231,30 @@ 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-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") |