me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-buffering-0.4.

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

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
master
phodina 2021-09-17 08:52:48 +02:00 committed by Nicolas Goaziou
parent 6823129abf
commit a8df6cc308
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 26 additions and 8 deletions

View File

@ -6231,8 +6231,33 @@ system calls. Second, exposing the internal buffer allows the user to work
with data in place, which avoids another copy.") with data in place, which avoids another copy.")
(license license:gpl3))) (license license:gpl3)))
(define-public rust-buffering-0.4
(package
(name "rust-buffering")
(version "0.4.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "buffering" version))
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
(base32 "1wmgy84j5scbndzx7mccz07z34n98fwnfah1zd5kzqjaif5iqk76"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-buffering-nocopy-macro" ,rust-buffering-nocopy-macro-0.2))))
(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-0.3 (define-public rust-buffering-0.3
(package (package
(inherit rust-buffering-0.4)
(name "rust-buffering") (name "rust-buffering")
(version "0.3.4") (version "0.3.4")
(source (source
@ -6243,17 +6268,10 @@ with data in place, which avoids another copy.")
(string-append name "-" version ".tar.gz")) (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "11cyq2nm569j028g93jxk00h8nfwc3l6n3hqw79w34na01p3lq97")))) (base32 "11cyq2nm569j028g93jxk00h8nfwc3l6n3hqw79w34na01p3lq97"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs #:cargo-inputs
(("rust-buffering-nocopy-macro" ,rust-buffering-nocopy-macro-0.1)))) (("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 (define-public rust-buffering-nocopy-macro-0.2
(package (package