[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/25: gnu: Add ghc-text-manipulate.
From: |
guix-commits |
Subject: |
07/25: gnu: Add ghc-text-manipulate. |
Date: |
Fri, 29 May 2020 11:00:58 -0400 (EDT) |
lfam pushed a commit to branch master
in repository guix.
commit 714e5605b6e8a9a3c7560c8c42b508c485f641b0
Author: John Soo <jsoo1@asu.edu>
AuthorDate: Fri Apr 10 21:09:59 2020 -0700
gnu: Add ghc-text-manipulate.
* gnu/packages/haskell-xyz.scm (ghc-text-manipulate): New variable.
fix text-manipulate.
Signed-off-by: Leo Famulari <leo@famulari.name>
---
gnu/packages/haskell-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index d828501..41f7e14 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -12029,6 +12029,44 @@ instances for strict and lazy text types for versions
older than 1.2.1 of the
text package.")
(license license:bsd-2)))
+(define-public ghc-text-manipulate
+ (package
+ (name "ghc-text-manipulate")
+ (version "0.2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/text-manipulate"
+ "/text-manipulate-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0bwxyjj3ll45srxhsp2ihikgqglvjc6m02ixr8xpvyqwkcfwgsg0"))))
+ (build-system haskell-build-system)
+ (native-inputs
+ `(("ghc-tasty" ,ghc-tasty)
+ ("ghc-tasty-hunit" ,ghc-tasty-hunit)))
+ (home-page
+ "https://github.com/brendanhay/text-manipulate")
+ (synopsis
+ "Case conversion, word boundary manipulation, and textual subjugation")
+ (description
+ "Manipulate identifiers and structurally non-complex pieces of text by
+delimiting word boundaries via a combination of whitespace,
+control-characters, and case-sensitivity.
+
+Has support for common idioms like casing of programmatic variable names,
+taking, dropping, and splitting by word, and modifying the first character of
+a piece of text.
+
+Caution: this library makes heavy use of the text library's internal loop
+optimisation framework. Since internal modules are not guaranteed to have a
+stable API there is potential for build breakage when the text dependency is
+upgraded. Consider yourself warned!")
+ (license license:mpl2.0)))
+
(define-public ghc-text-metrics
(package
(name "ghc-text-metrics")
- 19/25: gnu: Add ghc-haskeline-0.8., (continued)
- 19/25: gnu: Add ghc-haskeline-0.8., guix-commits, 2020/05/29
- 09/25: gnu: Add ghc-special-values., guix-commits, 2020/05/29
- 21/25: gnu: Add ghc-prettyprinter-1.6., guix-commits, 2020/05/29
- 11/25: gnu: Add ghc-pretty-simple., guix-commits, 2020/05/29
- 15/25: gnu: Add ghc-managed., guix-commits, 2020/05/29
- 23/25: gnu: Add ghc-generic-random-1.3.0.1., guix-commits, 2020/05/29
- 16/25: gnu: Add ghc-lens-family-core., guix-commits, 2020/05/29
- 17/25: gnu: Add ghc-prettyprinter., guix-commits, 2020/05/29
- 01/25: gnu: Add ghc-inspection-testing., guix-commits, 2020/05/29
- 20/25: gnu: Add ghc-repline-0.3., guix-commits, 2020/05/29
- 07/25: gnu: Add ghc-text-manipulate.,
guix-commits <=
- 10/25: gnu: Add ghc-serialise., guix-commits, 2020/05/29
- 25/25: gnu: Add dhall., guix-commits, 2020/05/29
- 05/25: gnu: Add ghc-dotgen., guix-commits, 2020/05/29
- 13/25: gnu: Add ghc-optional-args., guix-commits, 2020/05/29
- 12/25: gnu: Add ghc-pgp-wordlist., guix-commits, 2020/05/29
- 14/25: gnu: Add ghc-turtle., guix-commits, 2020/05/29
- 24/25: gnu: Add ghc-atomic-write-0.2.0.7., guix-commits, 2020/05/29