diff options
| author | Arun Isaac <arunisaac@systemreboot.net> | 2018-08-24 00:36:15 +0530 |
|---|---|---|
| committer | Arun Isaac <arunisaac@systemreboot.net> | 2018-09-04 12:15:10 +0530 |
| commit | 9c4b522f1572db2c5dab81976982b95d5da51e6e (patch) | |
| tree | dedac2761762b4e4c358ff4d731d3ae72d8b6d19 /gnu | |
| parent | fd95f37f361ad9444fb13faebda29662d3bf7be6 (diff) | |
gnu: Add ghc-wcwidth.
* gnu/packages/haskell.scm (ghc-wcwidth): New variable.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/haskell.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index a07bb049a2d..6e19cd67ee1 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm | |||
| @@ -10152,4 +10152,29 @@ tools are not needed to actually run Gtk2Hs programs.") | |||
| 10152 | backends provided by the @code{Cairo} and @code{Diagrams} libraries.") | 10152 | backends provided by the @code{Cairo} and @code{Diagrams} libraries.") |
| 10153 | (license license:bsd-3))) | 10153 | (license license:bsd-3))) |
| 10154 | 10154 | ||
| 10155 | (define-public ghc-wcwidth | ||
| 10156 | (package | ||
| 10157 | (name "ghc-wcwidth") | ||
| 10158 | (version "0.0.2") | ||
| 10159 | (source | ||
| 10160 | (origin | ||
| 10161 | (method url-fetch) | ||
| 10162 | (uri (string-append "https://hackage.haskell.org/package/wcwidth/wcwidth-" | ||
| 10163 | version ".tar.gz")) | ||
| 10164 | (sha256 | ||
| 10165 | (base32 | ||
| 10166 | "1n1fq7v64b59ajf5g50iqj9sa34wm7s2j3viay0kxpmvlcv8gipz")))) | ||
| 10167 | (build-system haskell-build-system) | ||
| 10168 | (inputs | ||
| 10169 | `(("ghc-setlocale" ,ghc-setlocale) | ||
| 10170 | ("ghc-utf8-string" ,ghc-utf8-string) | ||
| 10171 | ("ghc-attoparsec" ,ghc-attoparsec))) | ||
| 10172 | (home-page "https://github.com/solidsnack/wcwidth/") | ||
| 10173 | (synopsis "Haskell bindings to wcwidth") | ||
| 10174 | (description "This package provides Haskell bindings to your system's | ||
| 10175 | native wcwidth and a command line tool to examine the widths assigned by it. | ||
| 10176 | The command line tool can compile a width table to Haskell code that assigns | ||
| 10177 | widths to the Char type.") | ||
| 10178 | (license license:bsd-3))) | ||
| 10179 | |||
| 10155 | ;;; haskell.scm ends here | 10180 | ;;; haskell.scm ends here |
