efraim pushed a commit to branch rust-team in repository guix. commit 4f31ddc5a0ea1c34c04a4b2cd7639ff681e8395b Author: Efraim Flashner <efr...@flashner.co.il> AuthorDate: Sun Sep 22 15:22:09 2024 +0300
gnu: Add rust-adler2-2. * gnu/packages/crates-io.scm (rust-adler2-2): New variable. Change-Id: Ie2af0b3d6648e9d0060066ace10627189d5df4f1 --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index da42912847..956359d9dc 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -724,6 +724,30 @@ checksum, used in the zlib compression format.") (base32 "0zpdsrfq5bd34941gmrlamnzjfbsx0x586afb7b0jqhr8g1lwapf")))) (build-system cargo-build-system))) +(define-public rust-adler2-2 + (package + (name "rust-adler2") + (version "2.0.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "adler2" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "09r6drylvgy8vv8k20lnbvwq8gp09h7smfn6h1rxsy15pgh629si")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)) + #:cargo-development-inputs (("rust-criterion" ,rust-criterion-0.3)))) + (home-page "https://github.com/oyvindln/adler2") + (synopsis "Implementation of the Adler-32 checksum") + (description + "This package provides a simple clean-room implementation of the Adler-32 +checksum.") + (license (list license:bsd-0 license:expat license:asl2.0)))) + (define-public rust-adler32-1 (package (name "rust-adler32")