aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-04-03 11:57:29 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-04-03 14:07:50 +0300
commited2acb1b16bd6f4d45c17c1585f2910e6d8cc2ba (patch)
treed4c7d3411a454dd85976b65aa19d492a5ac467ea /gnu/packages
parent23f56d4b491cb4f801966d181dc6dadcf1aa6a7f (diff)
downloadguix-ed2acb1b16bd6f4d45c17c1585f2910e6d8cc2ba.tar.gz
guix-ed2acb1b16bd6f4d45c17c1585f2910e6d8cc2ba.zip
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.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 22 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7bc13a515a..a474372d00 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44509,29 +44509,47 @@ replacements, adding colorful diffs.")
formatted tables in terminal.")
(license license:bsd-3)))
-(define-public rust-print-bytes-0.4
+(define-public rust-print-bytes-0.5
(package
(name "rust-print-bytes")
- (version "0.4.2")
+ (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 "1zmvbaxfl4r780j0smg2kn1q3agks601aa43s5zdlzgcp32yjfvm"))))
+ (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-2))))
+ (("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
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "print-bytes" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zmvbaxfl4r780j0smg2kn1q3agks601aa43s5zdlzgcp32yjfvm"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-os-str-bytes" ,rust-os-str-bytes-2))))))
+
(define-public rust-proc-macro-crate-1
(package
(name "rust-proc-macro-crate")