gnu: rust-gzip-header: Add 1.0.0.

* gnu/packages/crates-io.scm (rust-gzip-header-1): New variable.
(rust-gzip-header-0.3): Inherit from it.
This commit is contained in:
Marius Bakke 2022-07-26 11:07:17 +02:00
parent e62dd8e762
commit 822edbf08b
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -26103,8 +26103,32 @@ support.")
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
(define-public rust-gzip-header-1
(package
(name "rust-gzip-header")
(version "1.0.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "gzip-header" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"18lm2y96mahkmcd76pzyam2sl3v6lsl9mn8ajri9l0p6j9xm5k4m"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-crc32fast" ,rust-crc32fast-1))))
(home-page "https://github.com/oyvindln/gzip-header")
(synopsis "Decoding and encoding the header part of gzip files")
(description
"This package provides a crate for decoding and encoding the header part
of gzip files based on the gzip header implementation in the @code{flate2} crate.")
(license (list license:expat license:asl2.0))))
(define-public rust-gzip-header-0.3
(package
(inherit rust-gzip-header-1)
(name "rust-gzip-header")
(version "0.3.0")
(source
@ -26119,13 +26143,7 @@ support.")
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-crc32fast" ,rust-crc32fast-1))))
(home-page "https://github.com/oyvindln/gzip-header")
(synopsis "Decoding and encoding the header part of gzip files")
(description
"This package provides a crate for decoding and encoding the header part
of gzip files based on the gzip header implementation in the @code{flate2} crate.")
(license (list license:expat license:asl2.0))))
(("rust-crc32fast" ,rust-crc32fast-1))))))
(define-public rust-h2-0.3
(package