me
/
guix
Archived
1
0
Fork 0

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>
master
Jaeme Sifat 2023-12-10 18:06:50 -05:00 committed by Efraim Flashner
parent 0d9f9afa34
commit a49f801289
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 25 additions and 7 deletions

View File

@ -44615,8 +44615,32 @@ file IO.")
#:cargo-development-inputs
(("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
(package
(inherit rust-memmap2-0.9)
(name "rust-memmap2")
(version "0.7.1")
(source
@ -44626,19 +44650,13 @@ file IO.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1il82b0mw304jlwvl0m89aa8bj5dgmm3vbb0jg8lqlrk0p98i4zl"))))
(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))))
("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-memmap2-0.5
(package