Allow QuickCheck 2.10
[packages/filepath.git] / filepath.cabal
index 70c4520..a47635b 100644 (file)
@@ -1,18 +1,18 @@
+cabal-version:  >= 1.18
 name:           filepath
-version:        1.3.0.3
+version:        1.4.1.2
 -- NOTE: Don't forget to update ./changelog.md
 license:        BSD3
 license-file:   LICENSE
 author:         Neil Mitchell <ndmitchell@gmail.com>
 maintainer:     Neil Mitchell <ndmitchell@gmail.com>
-copyright:      Neil Mitchell 2005-2014
+copyright:      Neil Mitchell 2005-2017
 bug-reports:    https://github.com/haskell/filepath/issues
 homepage:       https://github.com/haskell/filepath#readme
 category:       System
 build-type:     Simple
 synopsis:       Library for manipulating FilePaths in a cross platform way.
-cabal-version:  >=1.10
-tested-with:    GHC==7.8.3, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2
+tested-with:    GHC==8.0.2, GHC==7.10.3, GHC==7.8.4, GHC==7.6.3, GHC==7.4.2
 description:
     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:
     .
@@ -26,13 +26,19 @@ description:
 
 extra-source-files:
     System/FilePath/Internal.hs
+extra-doc-files:
     README.md
     changelog.md
 
+source-repository head
+    type:     git
+    location: https://github.com/haskell/filepath.git
+
 library
-    default-language: Haskell98
+    default-language: Haskell2010
     other-extensions:
         CPP
+        PatternGuards
     if impl(GHC >= 7.2)
         other-extensions: Safe
 
@@ -42,24 +48,20 @@ library
         System.FilePath.Windows
 
     build-depends:
-        base >= 4 && < 4.9
+        base >= 4 && < 4.11
 
     ghc-options: -Wall
 
 test-suite filepath-tests
     type: exitcode-stdio-1.0
-    default-language: Haskell98
+    default-language: Haskell2010
     main-is: Test.hs
     ghc-options: -main-is Test
     hs-source-dirs: tests
     other-modules:
-        AutoTest
+        TestGen
+        TestUtil
     build-depends:
         filepath,
         base,
-        QuickCheck >= 2.6 && < 2.8,
-        random     == 1.0.*
-
-source-repository head
-    type:     git
-    location: https://github.com/haskell/filepath.git
+        QuickCheck >= 2.7 && < 2.11