gnu: Add rust-memmap2-0.9.
* gnu/packages/crates-io.scm (rust-memmap2-0.9): New variable. (rust-memmap2-0.7): Inherit from rust-memmap2-0.9. Change-Id: I3a4ed8a1756bb72bd3fb81cae06c45be40e2c5f7 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
0d9f9afa34
commit
a49f801289
1 changed files with 25 additions and 7 deletions
|
@ -44615,8 +44615,32 @@ file IO.")
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-tempdir" ,rust-tempdir-0.3))))))
|
(("rust-tempdir" ,rust-tempdir-0.3))))))
|
||||||
|
|
||||||
|
(define-public rust-memmap2-0.9
|
||||||
|
(package
|
||||||
|
(name "rust-memmap2")
|
||||||
|
(version "0.9.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "memmap2" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0xckkh1i45g6y2g2lkb6b292pfj2wlrfk2fc4754q7dzga6s7ayy"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
|
||||||
|
("rust-stable-deref-trait" ,rust-stable-deref-trait-1))
|
||||||
|
#:cargo-development-inputs (("rust-owning-ref" ,rust-owning-ref-0.4)
|
||||||
|
("rust-tempfile" ,rust-tempfile-3))))
|
||||||
|
(home-page "https://github.com/RazrFalcon/memmap2-rs")
|
||||||
|
(synopsis "Cross-platform Rust API for memory-mapped file IO")
|
||||||
|
(description
|
||||||
|
"This package provides a Rust API for memory-mapped file IO.")
|
||||||
|
(license (list license:expat license:asl2.0))))
|
||||||
|
|
||||||
(define-public rust-memmap2-0.7
|
(define-public rust-memmap2-0.7
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-memmap2-0.9)
|
||||||
(name "rust-memmap2")
|
(name "rust-memmap2")
|
||||||
(version "0.7.1")
|
(version "0.7.1")
|
||||||
(source
|
(source
|
||||||
|
@ -44626,19 +44650,13 @@ file IO.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1il82b0mw304jlwvl0m89aa8bj5dgmm3vbb0jg8lqlrk0p98i4zl"))))
|
(base32 "1il82b0mw304jlwvl0m89aa8bj5dgmm3vbb0jg8lqlrk0p98i4zl"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:cargo-inputs
|
`(#:cargo-inputs
|
||||||
(("rust-libc" ,rust-libc-0.2)
|
(("rust-libc" ,rust-libc-0.2)
|
||||||
("rust-stable-deref-trait" ,rust-stable-deref-trait-1))
|
("rust-stable-deref-trait" ,rust-stable-deref-trait-1))
|
||||||
#:cargo-development-inputs
|
#:cargo-development-inputs
|
||||||
(("rust-owning-ref" ,rust-owning-ref-0.4)
|
(("rust-owning-ref" ,rust-owning-ref-0.4)
|
||||||
("rust-tempfile" ,rust-tempfile-3))))
|
("rust-tempfile" ,rust-tempfile-3))))))
|
||||||
(home-page "https://github.com/RazrFalcon/memmap2-rs")
|
|
||||||
(synopsis "Cross-platform Rust API for memory-mapped file IO")
|
|
||||||
(description
|
|
||||||
"This package provides a Rust API for memory-mapped file IO.")
|
|
||||||
(license (list license:expat license:asl2.0))))
|
|
||||||
|
|
||||||
(define-public rust-memmap2-0.5
|
(define-public rust-memmap2-0.5
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue