File: code-page.cabal

package info (click to toggle)
haskell-code-page 0.2.1-3
  • links: PTS
  • area: main
  • in suites: sid, trixie
  • size: 88 kB
  • sloc: haskell: 221; ansic: 10; makefile: 7
file content (67 lines) | stat: -rw-r--r-- 2,427 bytes parent folder | download | duplicates (2)
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
name:                code-page
version:             0.2.1
synopsis:            Windows code page library for Haskell
description:         This library provides two modules:
                     .
                     * "System.IO.CodePage": a cross-platform module that exports
                     functions which adjust code pages on Windows, and do nothing
                     on other operating systems.
                     .
                     * "System.Win32.CodePage": On Windows, this exports functions
                     for getting, setting, and analyzing code pages. On other
                     operating systems, this module exports nothing.
homepage:            https://github.com/RyanGlScott/code-page
bug-reports:         https://github.com/RyanGlScott/code-page/issues
license:             BSD3
license-file:        LICENSE
author:              Ryan Scott
maintainer:          Ryan Scott <ryan.gl.scott@gmail.com>
stability:           Provisional
copyright:           (C) 2016-2017 Ryan Scott
category:            System
build-type:          Simple
extra-source-files:  CHANGELOG.md, README.md, include/*.h
cabal-version:       >=1.10
tested-with:         GHC == 7.0.4
                   , GHC == 7.2.2
                   , GHC == 7.4.2
                   , GHC == 7.6.3
                   , GHC == 7.8.4
                   , GHC == 7.10.3
                   , GHC == 8.0.2
                   , GHC == 8.2.2
                   , GHC == 8.4.4
                   , GHC == 8.6.5
                   , GHC == 8.8.4
                   , GHC == 8.10.2

source-repository head
  type:                git
  location:            https://github.com/RyanGlScott/code-page

library
  exposed-modules:     System.IO.CodePage
                       System.IO.CodePage.Internal
                       System.Win32.CodePage
  build-depends:       base >= 4.3 && < 5
  build-tools:         hsc2hs
  if os(windows)
    include-dirs:      include
    includes:          windows_cconv.h
    cpp-options:       "-DWINDOWS"
    build-depends:     Win32

  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite tests
  type:                exitcode-stdio-1.0
  main-is:             Tests.hs

  build-depends:       base >= 4.3 && < 5
                     , code-page

  hs-source-dirs:      tests
  default-language:    Haskell2010
  ghc-options:         -Wall -threaded -rtsopts