diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 23a8a2c9da..1e13c2b5d3 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -6361,8 +6361,28 @@ example 13 bits at once. The reader internally keeps track of position within the buffer.") (license (list license:expat license:asl2.0)))) +(define-public rust-bitstream-io-2 + (package + (name "rust-bitstream-io") + (version "2.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "bitstream-io" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1nkny66c4hagpc6l656jvvlnz212msv6icca0f0jw7hpa6d9ij86")))) + (build-system cargo-build-system) + (home-page "https://github.com/tuffy/bitstream-io") + (synopsis "Read/write un-aligned values from big or little-endian streams") + (description + "This package is a library for reading/writing un-aligned values from/to +streams in big-endian and little-endian formats.") + (license (list license:expat license:asl2.0)))) + (define-public rust-bitstream-io-1 (package + (inherit rust-bitstream-io-2) (name "rust-bitstream-io") (version "1.0.0") (source @@ -6372,14 +6392,7 @@ the buffer.") (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "01pyk3pipwcbaghi7f0lmp3izjl902cv21yf4b1v5nipkrrrqlq3")))) - (build-system cargo-build-system) - (arguments `(#:skip-build? #t)) - (home-page "https://github.com/tuffy/bitstream-io") - (synopsis "Read/write un-aligned values from big or little-endian streams") - (description - "This package is a library for reading/writing un-aligned values from/to -streams in big-endian and little-endian formats.") - (license (list license:expat license:asl2.0)))) + (arguments `(#:skip-build? #t)))) (define-public rust-bitstream-io-0.8 (package