mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
gnu: Add ghc-mmap.
* gnu/packages/haskell.scm (ghc-mmap): New variable.
This commit is contained in:
parent
fcacbec34e
commit
348519e1bf
1 changed files with 21 additions and 0 deletions
|
@ -5526,6 +5526,27 @@ (define-public ghc-filemanip
|
|||
file contents, and more.")
|
||||
(license bsd-3)))
|
||||
|
||||
(define-public ghc-mmap
|
||||
(package
|
||||
(name "ghc-mmap")
|
||||
(version "0.5.9")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "http://hackage.haskell.org/package/"
|
||||
"mmap/mmap-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1y5mk3yf4b8r6rzmlx1xqn4skaigrqnv08sqq0v7r3nbw42bpz2q"))))
|
||||
(build-system haskell-build-system)
|
||||
(home-page "http://hackage.haskell.org/package/mmap")
|
||||
(synopsis "Memory mapped files for Haskell")
|
||||
(description
|
||||
"This library provides a wrapper to @code{mmap}, allowing files or
|
||||
devices to be lazily loaded into memory as strict or lazy @code{ByteStrings},
|
||||
@code{ForeignPtrs} or plain @code{Ptrs}, using the virtual memory subsystem to
|
||||
do on-demand loading.")
|
||||
(license bsd-3)))
|
||||
|
||||
(define-public idris
|
||||
(package
|
||||
(name "idris")
|
||||
|
|
Loading…
Reference in a new issue