gnu: rust-gzp-0.11: Move to (gnu packages crates-compression).

* gnu/packages/crates-io.scm (rust-gzp-0.11): Move from here ...
* gnu/packages/crates-compression.scm: ... to here.

Change-Id: Ib626c84548389ab91de6440f14ee4159a63b473a
This commit is contained in:
Efraim Flashner 2024-12-26 21:52:26 +02:00
parent 9f6b7014dd
commit 11d5659d0f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
2 changed files with 41 additions and 39 deletions

View file

@ -10,6 +10,7 @@
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2024 Steve George <steve@futurile.net>
;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
;;;
;;; This file is part of GNU Guix.
;;;
@ -37,9 +38,11 @@ (define-module (gnu packages crates-compression)
#:use-module (guix packages)
#:use-module (guix utils)
#:use-module (guix gexp)
#:use-module (gnu packages compression)
#:use-module (gnu packages crates-check)
#:use-module (gnu packages crates-crypto)
#:use-module (gnu packages crates-io))
#:use-module (gnu packages crates-io)
#:use-module (gnu packages pkg-config))
;;;
;;; Please: Try to add new module packages in alphabetic order.
@ -511,3 +514,40 @@ (define-public rust-gzip-header-0.3
`(#:cargo-inputs
(("rust-crc32fast" ,rust-crc32fast-1))))))
(define-public rust-gzp-0.11
(package
(name "rust-gzp")
(version "0.11.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "gzp" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1bvvz969c9kpyp7h6ry9mzhk7lb4hj4hpd810n0i26jjk4c5vip7"))
(snippet
#~(begin (use-modules ((guix build utils)))
;; Switch the default from zlib-ng to zlib.
(substitute* "Cargo.toml"
(("\"deflate_zlib_ng\"") "\"deflate_zlib\""))))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
("rust-bytes" ,rust-bytes-1)
("rust-core-affinity" ,rust-core-affinity-0.8)
("rust-flate2" ,rust-flate2-1)
("rust-flume" ,rust-flume-0.10)
("rust-libdeflater" ,rust-libdeflater-0.12)
("rust-libz-sys" ,rust-libz-sys-1)
("rust-num-cpus" ,rust-num-cpus-1)
("rust-snap" ,rust-snap-1)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4)
("rust-proptest" ,rust-proptest-1)
("rust-tempfile" ,rust-tempfile-3))))
(native-inputs (list pkg-config))
(inputs (list zlib))
(home-page "https://github.com/sstadick/gzp")
(synopsis "Parallel compression library")
(description "This package provides a library for parallel compression.")
(license (list license:unlicense license:expat))))

View file

@ -32359,44 +32359,6 @@ (define-public rust-gumdrop-derive-0.8
(description "This package provides custom derive support for gumdrop.")
(license (list license:expat license:asl2.0))))
(define-public rust-gzp-0.11
(package
(name "rust-gzp")
(version "0.11.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "gzp" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1bvvz969c9kpyp7h6ry9mzhk7lb4hj4hpd810n0i26jjk4c5vip7"))
(snippet
#~(begin (use-modules ((guix build utils)))
;; Switch the default from zlib-ng to zlib.
(substitute* "Cargo.toml"
(("\"deflate_zlib_ng\"") "\"deflate_zlib\""))))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
("rust-bytes" ,rust-bytes-1)
("rust-core-affinity" ,rust-core-affinity-0.8)
("rust-flate2" ,rust-flate2-1)
("rust-flume" ,rust-flume-0.10)
("rust-libdeflater" ,rust-libdeflater-0.12)
("rust-libz-sys" ,rust-libz-sys-1)
("rust-num-cpus" ,rust-num-cpus-1)
("rust-snap" ,rust-snap-1)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.4)
("rust-proptest" ,rust-proptest-1)
("rust-tempfile" ,rust-tempfile-3))))
(native-inputs (list pkg-config))
(inputs (list zlib))
(home-page "https://github.com/sstadick/gzp")
(synopsis "Parallel compression library")
(description "This package provides a library for parallel compression.")
(license (list license:unlicense license:expat))))
(define-public rust-half-2
(package
(name "rust-half")