mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add rust-memmap.
* gnu/packages/crates-io.scm (rust-memmap): New variable.
This commit is contained in:
parent
aeaa601260
commit
701eaebc66
1 changed files with 27 additions and 0 deletions
|
@ -1202,6 +1202,33 @@ (define-public rust-md5
|
|||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
|
||||
(define-public rust-memmap
|
||||
(package
|
||||
(name "rust-memmap")
|
||||
(version "0.7.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "memmap" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0ns7kkd1h4pijdkwfvw4qlbbmqmlmzwlq3g2676dcl5vwyazv1b5"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:cargo-inputs
|
||||
(("rust-libc" ,rust-libc)
|
||||
("rust-winapi" ,rust-winapi))
|
||||
#:cargo-development-inputs
|
||||
(("rust-tempdir" ,rust-tempdir))))
|
||||
(home-page "https://github.com/danburkert/memmap-rs")
|
||||
(synopsis "Rust library for cross-platform memory mapped IO")
|
||||
(description
|
||||
"This package provides a cross-platform Rust API for memory-mapped
|
||||
file IO.")
|
||||
(license (list license:asl2.0
|
||||
license:expat))))
|
||||
|
||||
(define-public rust-mime
|
||||
(package
|
||||
(name "rust-mime")
|
||||
|
|
Loading…
Reference in a new issue