mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 07:27:48 -05:00
gnu: Add rust-byte-unit-5.
* gnu/packages/crates-io.scm (rust-byte-unit-5): New variable. (rust-byte-unit-4): Inherit from rust-byte-unit-5. Change-Id: I0339eb0c14c7eb1d04336fe180b9a2695d19c01f
This commit is contained in:
parent
103fd1727c
commit
2f0dd6e091
1 changed files with 27 additions and 9 deletions
|
@ -9646,8 +9646,33 @@ (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-byte-unit-5
|
||||||
|
(package
|
||||||
|
(name "rust-byte-unit")
|
||||||
|
(version "5.1.4")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "byte-unit" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0gnnl92szl7d6bxz028n03ifflg96z4xp0lxqc3m8rmjy2yikb1k"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs (("rust-rocket" ,rust-rocket-0.5)
|
||||||
|
("rust-rust-decimal" ,rust-rust-decimal-1)
|
||||||
|
("rust-serde" ,rust-serde-1)
|
||||||
|
("rust-utf8-width" ,rust-utf8-width-0.1))
|
||||||
|
#:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))
|
||||||
|
(home-page "https://magiclen.org/byte-unit")
|
||||||
|
(synopsis "Library for interaction with units of bytes")
|
||||||
|
(description
|
||||||
|
"This package provides a library for interaction with units of bytes.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-byte-unit-4
|
(define-public rust-byte-unit-4
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-byte-unit-5)
|
||||||
(name "rust-byte-unit")
|
(name "rust-byte-unit")
|
||||||
(version "4.0.9")
|
(version "4.0.9")
|
||||||
(source
|
(source
|
||||||
|
@ -9657,16 +9682,9 @@ (define-public rust-byte-unit-4
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0lxi11qf6h1rqr0yhsh7i6755l325qrkv9r4bgismyik531mi1qw"))))
|
(base32 "0lxi11qf6h1rqr0yhsh7i6755l325qrkv9r4bgismyik531mi1qw"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs (("rust-serde" ,rust-serde-1)
|
||||||
(("rust-serde" ,rust-serde-1)
|
("rust-utf8-width" ,rust-utf8-width-0.1))))))
|
||||||
("rust-utf8-width" ,rust-utf8-width-0.1))))
|
|
||||||
(home-page "https://magiclen.org/byte-unit")
|
|
||||||
(synopsis "Library for interaction with units of bytes")
|
|
||||||
(description
|
|
||||||
"This package provides a library for interaction with units of bytes.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-bytecheck-0.6
|
(define-public rust-bytecheck-0.6
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue