diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-09-05 17:34:33 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-09-06 15:45:59 +0300 |
commit | 701eaebc6666ae40f0d284b2b8e377fee2553d9b (patch) | |
tree | e5082ef6f63157d53747ac5153a149121f814d8f /gnu | |
parent | aeaa6012609741f4957a033df0b7d3dbfd14980b (diff) | |
download | guix-701eaebc6666ae40f0d284b2b8e377fee2553d9b.tar.gz |
gnu: Add rust-memmap.
* gnu/packages/crates-io.scm (rust-memmap): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index ae89552b2c..5683c177df 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1202,6 +1202,33 @@ whether an expression matches a pattern.") (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") |