haskell-with-utf8/package.yaml

84 lines
1.7 KiB
YAML
Raw Permalink Normal View History

2020-02-16 03:08:31 +03:00
# SPDX-FileCopyrightText: 2020 Serokell <https://serokell.io/>
#
# SPDX-License-Identifier: MPL-2.0
2020-02-27 06:00:59 +03:00
name: with-utf8
version: 1.1.0.0
synopsis: Get your IO right on the first try
description: |
This minimalistic library helps you navigate the world of text encodings
avoiding @invalid argument (invalid byte sequence)@
and @invalid argument (invalid character)@ in runtime.
2020-06-11 15:56:10 +03:00
See <https://serokell.io/blog/haskell-with-utf8 this blog post> for why this
library exists and what exactly it does.
The two most important modules are:
* "Main.Utf8"
* "System.IO.Utf8"
category: IO
2020-02-16 03:08:31 +03:00
author: Kirill Elagin <kirelagin@serokell.io>
copyright: 2020 Serokell
license-file: LICENSES/MPL-2.0.txt
2020-02-27 06:00:59 +03:00
github: serokell/haskell-with-utf8
2020-02-16 03:08:31 +03:00
extra-doc-files:
- CHANGELOG.md
- README.md
ghc-options:
- -Wall
- -Wcompat
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wredundant-constraints
dependencies:
2023-11-24 07:18:15 +03:00
- base >= 4.10 && < 4.20
- text >= 0.7 && < 2.2
2020-02-16 03:08:31 +03:00
library:
source-dirs: lib
dependencies:
2020-02-27 06:46:45 +03:00
- safe-exceptions >= 0.1 && < 0.2 # only really needed for polymorphic bracket
2020-02-16 03:15:52 +03:00
executables:
utf8-troubleshoot:
source-dirs: app/utf8-troubleshoot
main: Main.hs
2020-04-21 21:24:26 +03:00
c-sources: app/utf8-troubleshoot/cbits/locale.c
dependencies:
- directory >= 1.2.5.0 && < 1.4
- filepath >= 1.0 && < 1.5
- process >= 1.0.1.1 && < 1.7
- safe-exceptions
- th-env >= 0.1.0.0 && < 0.2
2020-02-16 03:15:52 +03:00
tests:
2020-02-27 06:00:59 +03:00
with-utf8-test:
2020-02-16 03:15:52 +03:00
source-dirs: test
main: Test.hs
dependencies:
2020-02-27 06:00:59 +03:00
- with-utf8
2020-02-16 03:15:52 +03:00
- deepseq
- safe-exceptions
- temporary
- unix
2020-02-16 03:15:52 +03:00
- hedgehog
- HUnit
- tasty
- tasty-hedgehog
- tasty-hunit
build-tools:
- tasty-discover:tasty-discover