From 9e085d1d1457d677c4477162ed5d4a92dcc9d2ca Mon Sep 17 00:00:00 2001 From: Valentin Ignatev Date: Mon, 20 Jan 2020 03:45:26 +0300 Subject: [PATCH 164/275] gnu: Add rust-gzip-header-0.3. * gnu/packages/crates-io.scm (rust-gzip-header-0.3): New variable. --- gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index b4e0639db4..05f069a45c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -5832,6 +5832,34 @@ standard printing of search results, similar to grep itself.") "Fast line oriented regex searching as a library.") (license (list license:unlicense license:expat)))) +(define-public rust-gzip-header-0.3 + (package + (name "rust-gzip-header") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "gzip-header" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "0fg6vm8sgsm69szwqyz7abfbyziv6pv0jkcailimlamvsfrzwc81")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-crc32fast" ,rust-crc32fast-1.2)))) + (home-page + "https://github.com/oyvindln/gzip-header") + (synopsis + "A crate for decoding and encoding the header part of gzip files based on the +gzip header implementation in the flate2 crate") + (description + "This package provides a crate for decoding and encoding the header part +of gzip files based on the gzip header implementation in the flate2 crate.") + (license (list license:expat license:asl2.0)))) + (define-public rust-half-1.3 (package (name "rust-half") -- 2.25.0