gnu: Add ghc-securemem.

* gnu/packages/haskell.scm (ghc-securemem): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
rsiddharth 2018-03-21 03:44:46 +00:00 committed by Ludovic Courtès
parent 122260b390
commit 54f3536d55
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 23 additions and 0 deletions

View File

@ -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.") interpolates variables according to the type being inserted.")
(license license:expat))) (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 ;;; haskell.scm ends here