From d52ca22ac3cb2cbf6e95d581c207f702c9f4bc81 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sun, 18 Sep 2016 16:09:56 +0000 Subject: gnu: Add ghc-patience. * gnu/packages/haskell.scm (ghc-patience): New variable. Signed-off-by: Leo Famulari --- gnu/packages/haskell.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 099c3e6c5b..aebc7a9dd6 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6803,4 +6803,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 between +performance, nice output for humans, and simplicity of implementation.") + (license license:bsd-3))) + ;;; haskell.scm ends here -- cgit v1.2.3