summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-12-26 22:30:51 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-01-06 12:19:38 +0200
commit14fa84cbd2b067d6cbfc9e437fc0a3c83a95a82a (patch)
treefa027f1f5b4f3b605a56d7579e11a998b15ef40a
parentba32dbac0c07cb7b75c2b8fd9ef5906eeac9373a (diff)
gnu: rust-miniz-oxide: Move to (gnu packages crates-compression).
* gnu/packages/crates-io.scm (rust-miniz-oxide-0.8, rust-miniz-oxide-0.7, rust-miniz-oxide-0.6, rust-miniz-oxide-0.5, rust-miniz-oxide-0.4, rust-miniz-oxide-0.3): Move from here ... * gnu/packages/crates-compression.scm: ... to here. Change-Id: I33067577ead67c692005acb28f219880826db4f2
-rw-r--r--gnu/packages/crates-compression.scm124
-rw-r--r--gnu/packages/crates-io.scm122
2 files changed, 124 insertions, 122 deletions
diff --git a/gnu/packages/crates-compression.scm b/gnu/packages/crates-compression.scm
index 81391f232a..e5bffdaad0 100644
--- a/gnu/packages/crates-compression.scm
+++ b/gnu/packages/crates-compression.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2019 John Soo <jsoo1@asu.edu>
;;; Copyright © 2019, 2020, 2023, 2024 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2020 Valentin Ignatev <valentignatev@gmail.com>
;;; Copyright © 2020 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2020, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr>
@@ -8,6 +9,7 @@
;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org>
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2022 Nicolas Graves <ngraves@ngraves.fr>
;;; Copyright © 2022, 2023 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2023, 2024 Steve George <steve@futurile.net>
;;; Copyright © 2024 Wilko Meyer <w@wmeyer.eu>
@@ -1017,6 +1019,128 @@ high-performance zlib library.")
known as zlib).")
(license (list license:asl2.0 license:expat))))
+(define-public rust-miniz-oxide-0.8
+ (package
+ (name "rust-miniz-oxide")
+ (version "0.8.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "miniz_oxide" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wadxkg6a6z4lr7kskapj5d8pxlx7cp1ifw4daqnkzqjxych5n72"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-adler2" ,rust-adler2-2)
+ ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-simd-adler32" ,rust-simd-adler32-0.3))))
+ (home-page "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide")
+ (synopsis "Pure rust replacement for the miniz DEFLATE/zlib encoder/decoder")
+ (description
+ "A pure rust replacement for the miniz DEFLATE/zlib encoder/decoder. Using
+@code{flate2} with the @code{rust_backend} feature provides an easy to use
+streaming API for miniz_oxide.")
+ (license (list license:expat license:zlib license:asl2.0))))
+
+(define-public rust-miniz-oxide-0.7
+ (package
+ (inherit rust-miniz-oxide-0.8)
+ (name "rust-miniz-oxide")
+ (version "0.7.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "miniz_oxide" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "024wv14aa75cvik7005s5y2nfc8zfidddbd7g55g7sjgnzfl18mq"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-adler" ,rust-adler-1)
+ ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-simd-adler32" ,rust-simd-adler32-0.3))))))
+
+(define-public rust-miniz-oxide-0.6
+ (package
+ (inherit rust-miniz-oxide-0.7)
+ (name "rust-miniz-oxide")
+ (version "0.6.2")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "miniz_oxide" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yp8z6yll5ypz1ldmgnv7zi0r78kbvmqmn2mii77jzmk5069axdj"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-adler" ,rust-adler-1)
+ ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-simd-adler32" ,rust-simd-adler32-0.3))))))
+
+(define-public rust-miniz-oxide-0.5
+ (package
+ (inherit rust-miniz-oxide-0.6)
+ (name "rust-miniz-oxide")
+ (version "0.5.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "miniz_oxide" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0d2xcypr8s0skd81dhlrylas1j794qyz74snm11jc8kmy6l0nncn"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-adler" ,rust-adler-1)
+ ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-simd-adler32" ,rust-simd-adler32-0.3))))))
+
+(define-public rust-miniz-oxide-0.4
+ (package
+ (inherit rust-miniz-oxide-0.5)
+ (name "rust-miniz-oxide")
+ (version "0.4.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "miniz_oxide" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jsfv00hl5rmx1nijn59sr9jmjd4rjnjhh4kdjy8d187iklih9d9"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-adler" ,rust-adler-1)
+ ("rust-autocfg" ,rust-autocfg-1)
+ ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
+
+(define-public rust-miniz-oxide-0.3
+ (package
+ (inherit rust-miniz-oxide-0.4)
+ (name "rust-miniz-oxide")
+ (version "0.3.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "miniz_oxide" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0dblrhgbm0wa8jjl8cjp81akaj36yna92df4z1h9b26n3spal7br"))))
+ (arguments
+ `(#:cargo-inputs (("rust-adler32" ,rust-adler32-1))))))
+
(define-public rust-ruzstd-0.7
(package
(name "rust-ruzstd")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7828614dd5..5d17041812 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44658,128 +44658,6 @@ efficient round-trip float parsing. Minimal-lexical implements a correct,
fast float parser.")
(license (list license:expat license:asl2.0))))
-(define-public rust-miniz-oxide-0.8
- (package
- (name "rust-miniz-oxide")
- (version "0.8.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "miniz_oxide" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1wadxkg6a6z4lr7kskapj5d8pxlx7cp1ifw4daqnkzqjxych5n72"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs
- (("rust-adler2" ,rust-adler2-2)
- ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
- ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
- ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
- ("rust-simd-adler32" ,rust-simd-adler32-0.3))))
- (home-page "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide")
- (synopsis "Pure rust replacement for the miniz DEFLATE/zlib encoder/decoder")
- (description
- "A pure rust replacement for the miniz DEFLATE/zlib encoder/decoder. Using
-@code{flate2} with the @code{rust_backend} feature provides an easy to use
-streaming API for miniz_oxide.")
- (license (list license:expat license:zlib license:asl2.0))))
-
-(define-public rust-miniz-oxide-0.7
- (package
- (inherit rust-miniz-oxide-0.8)
- (name "rust-miniz-oxide")
- (version "0.7.4")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "miniz_oxide" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "024wv14aa75cvik7005s5y2nfc8zfidddbd7g55g7sjgnzfl18mq"))))
- (arguments
- `(#:cargo-inputs
- (("rust-adler" ,rust-adler-1)
- ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
- ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
- ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
- ("rust-simd-adler32" ,rust-simd-adler32-0.3))))))
-
-(define-public rust-miniz-oxide-0.6
- (package
- (inherit rust-miniz-oxide-0.7)
- (name "rust-miniz-oxide")
- (version "0.6.2")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "miniz_oxide" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1yp8z6yll5ypz1ldmgnv7zi0r78kbvmqmn2mii77jzmk5069axdj"))))
- (arguments
- `(#:cargo-inputs
- (("rust-adler" ,rust-adler-1)
- ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
- ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
- ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
- ("rust-simd-adler32" ,rust-simd-adler32-0.3))))))
-
-(define-public rust-miniz-oxide-0.5
- (package
- (inherit rust-miniz-oxide-0.6)
- (name "rust-miniz-oxide")
- (version "0.5.4")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "miniz_oxide" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0d2xcypr8s0skd81dhlrylas1j794qyz74snm11jc8kmy6l0nncn"))))
- (arguments
- `(#:cargo-inputs
- (("rust-adler" ,rust-adler-1)
- ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
- ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
- ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
- ("rust-simd-adler32" ,rust-simd-adler32-0.3))))))
-
-(define-public rust-miniz-oxide-0.4
- (package
- (inherit rust-miniz-oxide-0.5)
- (name "rust-miniz-oxide")
- (version "0.4.4")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "miniz_oxide" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "0jsfv00hl5rmx1nijn59sr9jmjd4rjnjhh4kdjy8d187iklih9d9"))))
- (arguments
- `(#:cargo-inputs
- (("rust-adler" ,rust-adler-1)
- ("rust-autocfg" ,rust-autocfg-1)
- ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
- ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
- ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
-
-(define-public rust-miniz-oxide-0.3
- (package
- (inherit rust-miniz-oxide-0.4)
- (name "rust-miniz-oxide")
- (version "0.3.7")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "miniz_oxide" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "0dblrhgbm0wa8jjl8cjp81akaj36yna92df4z1h9b26n3spal7br"))))
- (arguments
- `(#:cargo-inputs (("rust-adler32" ,rust-adler32-1))))))
-
(define-public rust-mint-0.5
(package
(name "rust-mint")