guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

25/49: gnu: Add ghc-mmap.


From: Ricardo Wurmus
Subject: 25/49: gnu: Add ghc-mmap.
Date: Thu, 10 Dec 2015 13:36:46 +0000

rekado pushed a commit to branch master
in repository guix.

commit 348519e1bf5b6b9beba3201b0afcb58ef65c4a9f
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Nov 27 13:30:54 2015 +0100

    gnu: Add ghc-mmap.
    
    * gnu/packages/haskell.scm (ghc-mmap): New variable.
---
 gnu/packages/haskell.scm |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 9b99add..b6a45d2 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -5526,6 +5526,27 @@ directories.  It includes code for pattern matching, 
finding files, modifying
 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},
address@hidden or plain @code{Ptrs}, using the virtual memory subsystem to
+do on-demand loading.")
+    (license bsd-3)))
+
 (define-public idris
   (package
     (name "idris")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]