[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/14: gnu: Add ghc-text-zipper.
From: |
guix-commits |
Subject: |
03/14: gnu: Add ghc-text-zipper. |
Date: |
Sun, 4 Jul 2021 11:56:08 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit c098af67b1ccc58ad55f64262c964111f046f923
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Jul 4 14:05:38 2021 +0200
gnu: Add ghc-text-zipper.
* gnu/packages/haskell-xyz.scm (ghc-text-zipper): New public variable.
---
gnu/packages/haskell-xyz.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 5a18a82..e6fe09c 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -9284,6 +9284,36 @@ footprint of a (boxed) @{ShortText} value is 4 words (2
words when unboxed)
plus the length of the UTF-8 encoded payload.")
(license license:bsd-3)))
+(define-public ghc-text-zipper
+ (package
+ (name "ghc-text-zipper")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/text-zipper/"
+ "text-zipper-" version ".tar.gz"))
+ (sha256
+ (base32 "0jxicjp0ak1fyl1n3yspxq6hv9l90zzy75glsv8bc2svsn9ypyls"))))
+ (build-system haskell-build-system)
+ (native-inputs
+ `(("ghc-hspec" ,ghc-hspec)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("hspec-discover" ,hspec-discover)))
+ (inputs
+ `(("ghc-vector" ,ghc-vector)))
+ (home-page "https://github.com/jtdaugherty/text-zipper/")
+ (synopsis "Text editor zipper library")
+ (description
+ "This Haskell library provides a two-dimensional zipper data structure for
+editing text. The structure represents the body of text and an editing cursor
+which can be moved through it, along with a set of editing transformations.
+
+Text zippers are generalized over the set of data types that might be used to
+store lists of characters (e.g., @code{String}, @code{T.Text}, etc.).
+Implementations using both of these examples are provided.")
+ (license license:bsd-3)))
+
(define-public ghc-doclayout
(package
(name "ghc-doclayout")
- branch master updated (d9c4009 -> 9e63baf), guix-commits, 2021/07/04
- 01/14: gnu: Add ghc-config-ini., guix-commits, 2021/07/04
- 02/14: gnu: Add ghc-data-clist., guix-commits, 2021/07/04
- 08/14: gnu: abiword: Update to 3.0.5., guix-commits, 2021/07/04
- 09/14: gnu: tarlz: Update to 0.21., guix-commits, 2021/07/04
- 14/14: gnu: procenv: Update to 0.58., guix-commits, 2021/07/04
- 11/14: gnu: lynis: Update to 3.0.5., guix-commits, 2021/07/04
- 03/14: gnu: Add ghc-text-zipper.,
guix-commits <=
- 06/14: gnu: Add ghc-quickcheck-assertions., guix-commits, 2021/07/04
- 07/14: gnu: nanovna-saver: Update to 0.3.9., guix-commits, 2021/07/04
- 10/14: gnu: faudio: Update to 21.07., guix-commits, 2021/07/04
- 04/14: gnu: Add ghc-finite-typelits., guix-commits, 2021/07/04
- 05/14: gnu: Add ghc-test-framework-smallcheck., guix-commits, 2021/07/04
- 13/14: gnu: perl-email-abstract: Update to 3.009., guix-commits, 2021/07/04
- 12/14: gnu: reuse: Update to 0.13.0., guix-commits, 2021/07/04