me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-memmap2-0.3.

* gnu/packages/crates-io.scm (rust-memmap2-0.3): New variable.
(rust-memmap2-0.1): Inherit from above.
master
Nicolas Goaziou 2021-06-13 00:12:51 +02:00
parent 250cba79aa
commit a4b2968b94
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 16 additions and 3 deletions

View File

@ -24439,17 +24439,17 @@ 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.1 (define-public rust-memmap2-0.3
(package (package
(name "rust-memmap2") (name "rust-memmap2")
(version "0.1.0") (version "0.3.0")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "memmap2" version)) (uri (crate-uri "memmap2" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 "0nmymqy9q62x577ydja0ysfyir7h5qa0n5fwcnvchfhhlsi0rdyr")))) (base32 "1xcg3vv6rg8vhl0wdfy085gx4xsp2dah7anvn5816h6wgczj1zr0"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
@ -24460,6 +24460,19 @@ file IO.")
(description "This package provides a 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)))) (license (list license:expat license:asl2.0))))
(define-public rust-memmap2-0.1
(package
(inherit rust-memmap2-0.3)
(name "rust-memmap2")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "memmap2" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0nmymqy9q62x577ydja0ysfyir7h5qa0n5fwcnvchfhhlsi0rdyr"))))))
(define-public rust-memoffset-0.6 (define-public rust-memoffset-0.6
(package (package
(name "rust-memoffset") (name "rust-memoffset")