-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathhgettext.cabal
91 lines (76 loc) · 2.9 KB
/
hgettext.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
cabal-version: 1.14
name: hgettext
version: 0.1.40.2
build-type: Simple
license: BSD3
license-file: LICENSE
author: Vasyl Pasternak, Herbert Valerio Riedel, Nikola Hadžić
maintainer: https://github.com/haskell-hvr/hgettext
copyright: 2009 Vasyl Pasternak
category: Text
bug-reports: https://github.com/haskell-hvr/hgettext/issues
synopsis: Bindings to libintl.h (gettext, bindtextdomain)
description: This package provides bindings to the @gettext@ internationalization and localization (i18n) library.
.
This package provides support for custom @Setup.hs@ scripts via the "Distribution.Simple.I18N.GetText" module.
.
A user-contributed tutorial can be found in the [Haskell Wiki](https://wiki.haskell.org/Internationalization_of_Haskell_programs_using_gettext).
tested-with:
GHC == 9.10.1
GHC == 9.8.4
GHC == 9.6.6
GHC == 9.4.8
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
-- Drop testing GHC 7
-- GHC == 7.10.3
-- GHC == 7.8.4
-- GHC == 7.6.3
-- GHC == 7.4.2
extra-source-files:
CHANGELOG.md
source-repository head
type: git
location: https://github.com/haskell-hvr/hgettext.git
library
default-language: Haskell2010
exposed-modules: Text.I18N.GetText,
Distribution.Simple.I18N.GetText
other-modules: Internal
hs-source-dirs: src
build-depends: base >=4.5 && <4.22
, Cabal >=1.14 && <1.25 || >= 2.0 && < 2.5 || >=3.0 && <3.15
, containers >=0.4.2 && <0.8
, directory >=1.1 && <1.4
, filepath >=1.3 && <1.6
, process >=1.1 && <1.7
, setlocale >=0.0.3 && <1.1
ghc-options: -Wall
-- temporary hack: https://github.com/haskell-hvr/hgettext/pull/3
if os(windows)
extra-libraries: libintl
executable hgettext
default-language: Haskell2010
main-is: hgettext.hs
other-modules: Paths_hgettext
hs-source-dirs: src-exe
-- constraints inherited from lib:hgettext
build-depends: hgettext
, base
, Cabal
, containers
, filepath
build-depends: deepseq >=1.1 && <1.6
, cpphs >=1.20.9.1 && <1.20.10
, haskell-src-exts >=1.18 && <1.24
, uniplate >=1.6.12 && <1.7
, split >=0.2.3.4 && <0.3
, extra >=0.1 && <1.9
-- readFileUTF8 exists since extra-0.1
ghc-options: -Wall