mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-16 19:57:39 -05:00
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>
This commit is contained in:
parent
89e9082e4e
commit
714e5605b6
1 changed files with 38 additions and 0 deletions
|
@ -12029,6 +12029,44 @@ (define-public ghc-text-binary
|
||||||
text package.")
|
text package.")
|
||||||
(license license:bsd-2)))
|
(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
|
(define-public ghc-text-metrics
|
||||||
(package
|
(package
|
||||||
(name "ghc-text-metrics")
|
(name "ghc-text-metrics")
|
||||||
|
|
Loading…
Reference in a new issue