Patchwork [16/42] gnu: Add ghc-patience.

login
register
mail settings
Submitter non such
Date Sept. 18, 2016, 4:09 p.m.
Message ID <20160918161022.26135-16-ng0@we.make.ritual.n0.is>
Download mbox | patch
Permalink /patch/15719/
State New
Headers show

Comments

non such - Sept. 18, 2016, 4:09 p.m.
* gnu/packages/haskell.scm (ghc-patience): New variable.
---
 gnu/packages/haskell.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Patch

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index c4aecdc..1c4f970 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6798,4 +6798,28 @@  programs via \"ghci\", via \"runhaskell/runghc\", as well as compiled as
 an executable.")
     (license license:bsd-3)))
 
+(define-public ghc-patience
+  (package
+    (name "ghc-patience")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://hackage.haskell.org/package/patience/patience-"
+             version ".tar.gz"))
+       (sha256
+        (base32
+         "0qyv20gqy9pb1acy700ahv70lc6vprcwb26cc7fcpcs4scsc7irm"))))
+    (build-system haskell-build-system)
+    (home-page "http://hackage.haskell.org/package/patience")
+    (synopsis "Patience diff and longest increasing subsequence")
+    (description
+     "This library implements the 'patience diff' algorithm, as well as the
+patience algorithm for the longest increasing subsequence problem.
+Patience diff computes the difference between two lists, for example the lines
+of two versions of a source file.  It provides a good balance of performance,
+nice output for humans, and implementation simplicity.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here