summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-12-26 21:49:36 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-01-06 12:19:35 +0200
commit2aca456b3d7c8a238356032baa9072197bf45a6f (patch)
tree99be0d80c11440e77dac7cad423aa6fd868d8240
parentcfec481e89a52c93021d241c498f60f3efe30f31 (diff)
gnu: rust-flate2-1: Move to (gnu packages crates-compression).
* gnu/packages/crates-io.scm (rust-flate2-1): Move from here ... * gnu/packages/crates-compression.scm: ... to here. Change-Id: I226c649588baad2b07d93d469b9070b14ee229b1
-rw-r--r--gnu/packages/bioinformatics.scm1
-rw-r--r--gnu/packages/crates-compression.scm34
-rw-r--r--gnu/packages/crates-io.scm31
-rw-r--r--gnu/packages/crates-vcs.scm1
4 files changed, 35 insertions, 32 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index c00ef54fe9..34a39a48f1 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -83,6 +83,7 @@
#:use-module (gnu packages cpp)
#:use-module (gnu packages cpio)
#:use-module (gnu packages cran)
+ #:use-module (gnu packages crates-compression)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages curl)
#:use-module (gnu packages docbook)
diff --git a/gnu/packages/crates-compression.scm b/gnu/packages/crates-compression.scm
index 94172dbee0..70b83d465d 100644
--- a/gnu/packages/crates-compression.scm
+++ b/gnu/packages/crates-compression.scm
@@ -1,12 +1,14 @@
;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
-;;; Copyright © 2020 Nicolas Goaziou <mail@nicolasgoaziou.fr>
+;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2020, 2023, 2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2022 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2024 Steve George <steve@futurile.net>
;;;
;;; This file is part of GNU Guix.
@@ -436,3 +438,33 @@ written in rust.")
(description "Deflate64 implementation based on .NET's implementation.")
(license license:expat)))
+(define-public rust-flate2-1
+ (package
+ (name "rust-flate2")
+ (version "1.0.34")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "flate2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1w1nf2ap4q1sq1v6v951011wcvljk449ap7q7jnnjf8hvjs8kdd1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-cloudflare-zlib-sys" ,rust-cloudflare-zlib-sys-0.3)
+ ("rust-crc32fast" ,rust-crc32fast-1)
+ ("rust-libz-ng-sys" ,rust-libz-ng-sys-1)
+ ("rust-libz-sys" ,rust-libz-sys-1)
+ ("rust-libz-rs-sys" ,rust-libz-rs-sys-0.3)
+ ("rust-miniz-oxide" ,rust-miniz-oxide-0.7))
+ #:cargo-development-inputs
+ (("rust-quickcheck" ,rust-quickcheck-1)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/rust-lang/flate2-rs")
+ (synopsis "Bindings to miniz.c for DEFLATE compression and decompression")
+ (description
+ "Bindings to miniz.c for DEFLATE compression and decompression exposed as
+Reader/Writer streams. Contains bindings for zlib, deflate, and gzip-based
+streams.")
+ (license (list license:expat license:asl2.0))))
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a69884916a..4941b7ddcd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28031,37 +28031,6 @@ test multiple times.")
("rust-smallvec" ,rust-smallvec-1)
("rust-thiserror" ,rust-thiserror-1))))))
-(define-public rust-flate2-1
- (package
- (name "rust-flate2")
- (version "1.0.34")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "flate2" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1w1nf2ap4q1sq1v6v951011wcvljk449ap7q7jnnjf8hvjs8kdd1"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-cloudflare-zlib-sys" ,rust-cloudflare-zlib-sys-0.3)
- ("rust-crc32fast" ,rust-crc32fast-1)
- ("rust-libz-ng-sys" ,rust-libz-ng-sys-1)
- ("rust-libz-sys" ,rust-libz-sys-1)
- ("rust-libz-rs-sys" ,rust-libz-rs-sys-0.3)
- ("rust-miniz-oxide" ,rust-miniz-oxide-0.7))
- #:cargo-development-inputs
- (("rust-quickcheck" ,rust-quickcheck-1)
- ("rust-rand" ,rust-rand-0.8))))
- (home-page "https://github.com/rust-lang/flate2-rs")
- (synopsis "Bindings to miniz.c for DEFLATE compression and decompression")
- (description
- "Bindings to miniz.c for DEFLATE compression and decompression exposed as
-Reader/Writer streams. Contains bindings for zlib, deflate, and gzip-based
-streams.")
- (license (list license:expat license:asl2.0))))
-
(define-public rust-float-cmp-0.10
(package
(name "rust-float-cmp")
diff --git a/gnu/packages/crates-vcs.scm b/gnu/packages/crates-vcs.scm
index 7a16e92f80..3237de758f 100644
--- a/gnu/packages/crates-vcs.scm
+++ b/gnu/packages/crates-vcs.scm
@@ -33,6 +33,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages compression)
#:use-module (gnu packages crates-check)
+ #:use-module (gnu packages crates-compression)
#:use-module (gnu packages crates-crypto)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-web)