guix-commits
[Top][All Lists]
Advanced

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

145/272: gnu: Add ghc-memotrie.


From: Ricardo Wurmus
Subject: 145/272: gnu: Add ghc-memotrie.
Date: Mon, 1 Oct 2018 06:13:35 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit cd40c4d6c360ce52aaf006cb1b0f9190cb5e4d14
Author: Timothy Sample <address@hidden>
Date:   Sat Sep 1 14:20:06 2018 -0400

    gnu: Add ghc-memotrie.
    
    * gnu/packages/haskell.scm (ghc-memotrie): New variable.
---
 gnu/packages/haskell.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 76e2d22..1ae8eb9 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -849,6 +849,29 @@ making this package a full replacement for the original 
newtype package,
 and an alternative to newtype-th.")
     (license license:bsd-3)))
 
+(define-public ghc-memotrie
+  (package
+    (name "ghc-memotrie")
+    (version "0.6.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/MemoTrie/MemoTrie-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "157p0pi6rrq74a35mq6zkkycv4ah7xhkbrcmnkb9xf7pznw4aq0x"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-newtype-generics" ,ghc-newtype-generics)))
+    (home-page "https://github.com/conal/MemoTrie";)
+    (synopsis "Trie-based memo functions")
+    (description "This package provides a functional library for creating
+efficient memo functions using tries.")
+    (license license:bsd-3)))
+
 (define-public ghc-haddock-library
   (package
     (name "ghc-haddock-library")



reply via email to

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