From 54bc158701f0705a851a5d096a03949017a35f83 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 26 Jan 2020 11:10:09 -0800 Subject: [PATCH 26/34] gnu: Add ghc-neat-interpolation. * gnu/packages/haskell-xyz.scm (ghc-neat-interpolation): New variable. --- gnu/packages/haskell-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 8d8cafccd3..c38d1ff60e 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -8115,6 +8115,35 @@ with pseudo-graphical interfaces. This package is a nice, modern binding to GNU ncurses.") (license license:gpl3))) +(define-public ghc-neat-interpolation + (package + (name "ghc-neat-interpolation") + (version "0.3.2.4") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/neat-interpolation" + "/neat-interpolation-" version ".tar.gz")) + (sha256 + (base32 + "0lhpjckwhzlvx4cdhrwprwb85vc7hc44ybvk5nswgn7z73cp0wyy")))) + (build-system haskell-build-system) + (inputs + `(("ghc-megaparsec" ,ghc-megaparsec) + ("ghc-base-prelude" ,ghc-base-prelude))) + (native-inputs `(("ghc-htf" ,ghc-htf))) + (home-page + "https://github.com/nikita-volkov/neat-interpolation") + (synopsis + "Quasiquoter for neat and simple multiline text interpolation") + (description + "A quasiquoter for producing Text values with support for a simple +interpolation of input values. It removes the excessive indentation from the +input and accurately manages the indentation of all lines of the interpolated +variables.") + (license license:expat))) + (define-public ghc-network (package (name "ghc-network") -- 2.25.0