me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-print-bytes-0.5.

* gnu/packages/crates-io.scm (rust-print-bytes-0.5): New variable.
(rust-print-bytes-0.4): Inherit from rust-print-bytes-0.5.
master
Efraim Flashner 2022-04-03 11:57:29 +03:00
parent 23f56d4b49
commit ed2acb1b16
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 25 additions and 7 deletions

View File

@ -44509,8 +44509,32 @@ replacements, adding colorful diffs.")
formatted tables in terminal.")
(license license:bsd-3)))
(define-public rust-print-bytes-0.5
(package
(name "rust-print-bytes")
(version "0.5.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "print-bytes" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0d4i9y3jx1chi6w97a8rgdbwm9g3cppr53rw53zl6fcaq31qx0b6"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-os-str-bytes" ,rust-os-str-bytes-4))))
(home-page "https://github.com/dylni/print_bytes")
(synopsis "Print bytes as losslessly as possible")
(description "This package contains a Rust library to print bytes as
losslessly as possible.")
(license (list license:expat license:asl2.0))))
(define-public rust-print-bytes-0.4
(package
(inherit rust-print-bytes-0.5)
(name "rust-print-bytes")
(version "0.4.2")
(source
@ -44520,17 +44544,11 @@ formatted tables in terminal.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1zmvbaxfl4r780j0smg2kn1q3agks601aa43s5zdlzgcp32yjfvm"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-winapi" ,rust-winapi-0.3))
#:cargo-development-inputs
(("rust-os-str-bytes" ,rust-os-str-bytes-2))))
(home-page "https://github.com/dylni/print_bytes")
(synopsis "Print bytes as losslessly as possible")
(description "This package contains a Rust library to print bytes as
losslessly as possible.")
(license (list license:expat license:asl2.0))))
(("rust-os-str-bytes" ,rust-os-str-bytes-2))))))
(define-public rust-proc-macro-crate-1
(package