49404bc6f650769bfd45260d998b9f5a98d5da73
[packages/filepath.git] / filepath.cabal
1 name:           filepath
2 version:        1.4.1.0
3 -- NOTE: Don't forget to update ./changelog.md
4 license:        BSD3
5 license-file:   LICENSE
6 author:         Neil Mitchell <ndmitchell@gmail.com>
7 maintainer:     Neil Mitchell <ndmitchell@gmail.com>
8 copyright:      Neil Mitchell 2005-2015
9 bug-reports:    https://github.com/haskell/filepath/issues
10 homepage:       https://github.com/haskell/filepath#readme
11 category:       System
12 build-type:     Simple
13 synopsis:       Library for manipulating FilePaths in a cross platform way.
14 cabal-version:  >=1.10
15 tested-with:    GHC==7.10.1, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2
16 description:
17     This package provides functionality for manipulating @FilePath@ values, and is shipped with both <https://www.haskell.org/ghc/ GHC> and the <https://www.haskell.org/platform/ Haskell Platform>. It provides three modules:
18     .
19     * "System.FilePath.Posix" manipulates POSIX\/Linux style @FilePath@ values (with @\/@ as the path separator).
20     .
21     * "System.FilePath.Windows" manipulates Windows style @FilePath@ values (with either @\\@ or @\/@ as the path separator, and deals with drives).
22     .
23     * "System.FilePath" is an alias for the module appropriate to your platform.
24     .
25     All three modules provide the same API, and the same documentation (calling out differences in the different variants).
26
27 extra-source-files:
28     System/FilePath/Internal.hs
29 extra-doc-files:
30     README.md
31     changelog.md
32
33 library
34     default-language: Haskell98
35     other-extensions:
36         CPP
37         PatternGuards
38     if impl(GHC >= 7.2)
39         other-extensions: Safe
40
41     exposed-modules:
42         System.FilePath
43         System.FilePath.Posix
44         System.FilePath.Windows
45
46     build-depends:
47         base >= 4 && < 4.10
48
49     ghc-options: -Wall
50
51 test-suite filepath-tests
52     type: exitcode-stdio-1.0
53     default-language: Haskell98
54     main-is: Test.hs
55     ghc-options: -main-is Test
56     hs-source-dirs: tests
57     other-modules:
58         TestGen
59         TestUtil
60     build-depends:
61         filepath,
62         base,
63         QuickCheck >= 2.7 && < 2.8
64
65 source-repository head
66     type:     git
67     location: https://github.com/haskell/filepath.git