aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-03-21 03:44:46 +0000
committerLudovic Courtès <ludo@gnu.org>2018-03-31 19:25:50 +0200
commit54f3536d55b265f604c77b81595998a91c6aa4e2 (patch)
tree222b8744a81e0e80dc6e98b6c19d429a8295dc6a
parent122260b390c13e21128ef7312f9c64357f947da7 (diff)
downloadpatches-54f3536d55b265f604c77b81595998a91c6aa4e2.tar
patches-54f3536d55b265f604c77b81595998a91c6aa4e2.tar.gz
gnu: Add ghc-securemem.
* gnu/packages/haskell.scm (ghc-securemem): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/packages/haskell.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 523dc24c34..511d7b9932 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -8980,4 +8980,27 @@ be used inline with a quasi-quoter or in an external file and it
interpolates variables according to the type being inserted.")
(license license:expat)))
+(define-public ghc-securemem
+ (package
+ (name "ghc-securemem")
+ (version "0.1.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "securemem-" version "/"
+ "securemem-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0dkhhjxa7njc3qbgvd5a23rkvr39vj2kn2a9nk6yjg7a8b2hvdpy"))))
+ (build-system haskell-build-system)
+ (inputs `(("ghc-byteable" ,ghc-byteable)
+ ("ghc-memory" ,ghc-memory)))
+ (home-page "https://github.com/vincenthz/hs-securemem")
+ (synopsis "Auto-scrubbing and const-time-eq memory chunk abstraction for
+Haskell")
+ (description "SecureMem is similar to ByteString, except that it provides
+a memory chunk that will be auto-scrubbed after it run out of scope.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here