mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-15 15:37:54 -05:00
gnu: Add rust-bitstream-io-2.
* gnu/packages/crates-io.scm (rust-bitstream-io-2): New variable. (rust-bitstream-io-1): Inherit from rust-bitstream-io-2. Change-Id: I6cdaba36311ce09efc821f95f5d576c923d9b4aa
This commit is contained in:
parent
a225662184
commit
ac26d5ed0d
1 changed files with 21 additions and 8 deletions
|
@ -6361,8 +6361,28 @@ (define-public rust-bitreader-0.3
|
||||||
the buffer.")
|
the buffer.")
|
||||||
(license (list license:expat license:asl2.0))))
|
(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
|
(define-public rust-bitstream-io-1
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-bitstream-io-2)
|
||||||
(name "rust-bitstream-io")
|
(name "rust-bitstream-io")
|
||||||
(version "1.0.0")
|
(version "1.0.0")
|
||||||
(source
|
(source
|
||||||
|
@ -6372,14 +6392,7 @@ (define-public rust-bitstream-io-1
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "01pyk3pipwcbaghi7f0lmp3izjl902cv21yf4b1v5nipkrrrqlq3"))))
|
(base32 "01pyk3pipwcbaghi7f0lmp3izjl902cv21yf4b1v5nipkrrrqlq3"))))
|
||||||
(build-system cargo-build-system)
|
(arguments `(#:skip-build? #t))))
|
||||||
(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))))
|
|
||||||
|
|
||||||
(define-public rust-bitstream-io-0.8
|
(define-public rust-bitstream-io-0.8
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue