mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-21 10:09:15 -05:00
gnu: Add rust-bytecount-0.5.
* gnu/packages/crates-io.scm (rust-bytecount-0.5): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
e3d04c3ccc
commit
e832840799
1 changed files with 29 additions and 0 deletions
|
@ -766,6 +766,35 @@ (define-public rust-byte-tools-0.3
|
||||||
(description "Bytes related utility functions.")
|
(description "Bytes related utility functions.")
|
||||||
(license (list license:asl2.0 license:expat))))
|
(license (list license:asl2.0 license:expat))))
|
||||||
|
|
||||||
|
(define-public rust-bytecount-0.5
|
||||||
|
(package
|
||||||
|
(name "rust-bytecount")
|
||||||
|
(version "0.5.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "bytecount" version))
|
||||||
|
(file-name
|
||||||
|
(string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0z6a280kiy4kg5v3qw97pbyvwycr17fsm41804i8zpq7nmads3xy"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-packed-simd" ,rust-packed-simd-0.3))
|
||||||
|
#:cargo-development-inputs
|
||||||
|
(("rust-criterion" ,rust-criterion-0.2)
|
||||||
|
("rust-quickcheck" ,rust-quickcheck-0.8)
|
||||||
|
("rust-rand" ,rust-rand-0.4))))
|
||||||
|
(home-page "https://github.com/llogiq/bytecount")
|
||||||
|
(synopsis "Count occurrences of a given byte")
|
||||||
|
(description
|
||||||
|
"Count occurrences of a given byte, or the number of UTF-8 code points,
|
||||||
|
in a byte slice, fast.")
|
||||||
|
(license (list license:asl2.0 license:expat))))
|
||||||
|
|
||||||
(define-public rust-byteorder-1.3
|
(define-public rust-byteorder-1.3
|
||||||
(package
|
(package
|
||||||
(name "rust-byteorder")
|
(name "rust-byteorder")
|
||||||
|
|
Loading…
Reference in a new issue