Delete the random constraint, was not required
[packages/filepath.git] / filepath.cabal
1 name:           filepath
2 version:        1.3.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.3, 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     README.md
30     changelog.md
31
32 library
33     default-language: Haskell98
34     other-extensions:
35         CPP
36     if impl(GHC >= 7.2)
37         other-extensions: Safe
38
39     exposed-modules:
40         System.FilePath
41         System.FilePath.Posix
42         System.FilePath.Windows
43
44     build-depends:
45         base >= 4 && < 4.9
46
47     ghc-options: -Wall
48
49 test-suite filepath-tests
50     type: exitcode-stdio-1.0
51     default-language: Haskell98
52     main-is: Test.hs
53     ghc-options: -main-is Test
54     hs-source-dirs: tests
55     other-modules:
56         TestGen
57         TestUtil
58     build-depends:
59         filepath,
60         base,
61         QuickCheck >= 2.7 && < 2.8
62
63 source-repository head
64     type:     git
65     location: https://github.com/haskell/filepath.git