mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-10 05:09:33 -05:00
gnu: Add rust-input-buffer-0.5.
* gnu/packages/crates-io.scm (rust-input-buffer-0.5): New variable. (rust-input-buffer-0.3): Inherit from rust-input-buffer-0.5. Change-Id: I715153b7d8ef691521319c9a5100e84eb5d3aca8 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
572584dd57
commit
8edde4872b
1 changed files with 25 additions and 9 deletions
|
@ -38173,8 +38173,32 @@ (define-public rust-inotify-sys-0.1
|
|||
"This package provides inotify bindings for the Rust programming language.")
|
||||
(license license:isc)))
|
||||
|
||||
(define-public rust-input-buffer-0.5
|
||||
(package
|
||||
(name "rust-input-buffer")
|
||||
(version "0.5.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "input_buffer" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "044qxqdkcq6mv07bsvm35hl7hy3rmf87lrxjyz8zaq57i0xngvmc"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-bytes" ,rust-bytes-1))))
|
||||
(home-page "https://github.com/snapview/input_buffer")
|
||||
(synopsis
|
||||
"Peekable FIFO-like buffer for receiving network data efficiently")
|
||||
(description
|
||||
"This package provides a peekable FIFO-like buffer for receiving network
|
||||
data efficiently.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
|
||||
(define-public rust-input-buffer-0.3
|
||||
(package
|
||||
(inherit rust-input-buffer-0.5)
|
||||
(name "rust-input-buffer")
|
||||
(version "0.3.1")
|
||||
(source
|
||||
|
@ -38184,18 +38208,10 @@ (define-public rust-input-buffer-0.3
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0m4pamqvr00z90cmrgjj25iwpqy6fyac53k1ms63k86m8d9aka0r"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:skip-build? #t
|
||||
#:cargo-inputs
|
||||
(("rust-bytes" ,rust-bytes-0.5))))
|
||||
(home-page "https://github.com/snapview/input_buffer")
|
||||
(synopsis
|
||||
"Peekable FIFO-like buffer for receiving network data efficiently")
|
||||
(description
|
||||
"This package provides a peekable FIFO-like buffer for receiving network
|
||||
data efficiently.")
|
||||
(license (list license:expat license:asl2.0))))
|
||||
(("rust-bytes" ,rust-bytes-0.5))))))
|
||||
|
||||
(define-public rust-inout-0.1
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue