[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
82/330: gnu: Add rust-libflate-2.
From: |
guix-commits |
Subject: |
82/330: gnu: Add rust-libflate-2. |
Date: |
Mon, 18 Mar 2024 07:15:20 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit dc52d99a86bca678e70947cb82ee74d51d7db79b
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Sun Feb 18 22:03:08 2024 +0100
gnu: Add rust-libflate-2.
* gnu/packages/crates-web.scm (rust-libflate-2): Add variable.
(rust-libflate-1): Inherit rust-libflate-2.
Change-Id: I929d97b3f4a0ac9b015c39e92993190c062a5192
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++-------
1 file changed, 27 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 657ebd69f8..8f836a604e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33960,8 +33960,34 @@ for raw deflate, zlib, and gzip data.")
(("rust-criterion" ,rust-criterion-0.3)
("rust-flate2" ,rust-flate2-1))))))
+(define-public rust-libflate-2
+ (package
+ (name "rust-libflate")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libflate" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gxjqgbzzn6sdalrd2cfn7zb14c75if3dx3nzz3sz58pmra5czcz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-adler32" ,rust-adler32-1)
+ ("rust-core2" ,rust-core2-0.4)
+ ("rust-crc32fast" ,rust-crc32fast-1)
+ ("rust-dary-heap" ,rust-dary-heap-0.3)
+ ("rust-libflate-lz77" ,rust-libflate-lz77-2))
+ #:cargo-development-inputs (("rust-clap" ,rust-clap-2))))
+ (home-page "https://github.com/sile/libflate")
+ (synopsis "DEFLATE algorithm and related formats (ZLIB, GZIP)")
+ (description "This package provides a Rust implementation of DEFLATE
+algorithm and related formats (ZLIB, GZIP).")
+ (license license:expat)))
+
(define-public rust-libflate-1
(package
+ (inherit rust-libflate-2)
(name "rust-libflate")
(version "1.1.1")
(source
@@ -33971,19 +33997,13 @@ for raw deflate, zlib, and gzip data.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "07hlzg1zly4dw9s39fv2ik6nfcjpjgx82b5kkf3bafdvdvvlldhn"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-adler32" ,rust-adler32-1)
("rust-crc32fast" ,rust-crc32fast-1)
("rust-libflate-lz77" ,rust-libflate-lz77-1))
#:cargo-development-inputs
- (("rust-clap" ,rust-clap-2))))
- (home-page "https://github.com/sile/libflate")
- (synopsis "DEFLATE algorithm and related formats (ZLIB, GZIP)")
- (description "This package provides a Rust implementation of DEFLATE
-algorithm and related formats (ZLIB, GZIP).")
- (license license:expat)))
+ (("rust-clap" ,rust-clap-2))))))
(define-public rust-libflate-0.1
(package
- 70/330: gnu: Add rust-fancy-regex-0.13., (continued)
- 70/330: gnu: Add rust-fancy-regex-0.13., guix-commits, 2024/03/18
- 64/330: gnu: Add rust-condtype-1., guix-commits, 2024/03/18
- 65/330: gnu: Add rust-divan-macros-0.1., guix-commits, 2024/03/18
- 63/330: gnu: Add rust-nu-ansi-term-0.50., guix-commits, 2024/03/18
- 78/330: gnu: rust-home: Update to 0.5.9., guix-commits, 2024/03/18
- 74/330: gnu: Add rust-windows-interface-0.52., guix-commits, 2024/03/18
- 79/330: gnu: rust-unicode-segmentation-1: Update to 1.11.0., guix-commits, 2024/03/18
- 89/330: gnu: Add rust-multiversion-0.7., guix-commits, 2024/03/18
- 90/330: gnu: Add rust-core-affinity-0.8., guix-commits, 2024/03/18
- 80/330: gnu: Add rust-dary-heap-0.3., guix-commits, 2024/03/18
- 82/330: gnu: Add rust-libflate-2.,
guix-commits <=
- 113/330: gnu: Add rust-sample-test-macros-0.2., guix-commits, 2024/03/18
- 93/330: gnu: rust-codspeed-bencher-compat-2: Update to 2.4.0., guix-commits, 2024/03/18
- 122/330: gnu: Add rust-polars-lazy-0.37., guix-commits, 2024/03/18
- 119/330: gnu: Add rust-polars-core-0.37., guix-commits, 2024/03/18
- 104/330: gnu: Add rust-odbc-api-0.36., guix-commits, 2024/03/18
- 123/330: gnu: Add rust-polars-utils-0.37., guix-commits, 2024/03/18
- 115/330: gnu: Add rust-sample-std-0.2., guix-commits, 2024/03/18
- 126/330: gnu: Add rust-polars-row-0.37., guix-commits, 2024/03/18
- 92/330: gnu: Add rust-const-panic-0.2., guix-commits, 2024/03/18
- 121/330: gnu: Add rust-polars-io-0.37., guix-commits, 2024/03/18