Update source repo location to be the git repo in .cabal file
[haskell-directory.git] / directory.cabal
index 069bba4..f4cd800 100644 (file)
@@ -1,8 +1,9 @@
 name:          directory
-version:       1.0.0.2
+version:       1.1.0.0
 license:       BSD3
 license-file:  LICENSE
 maintainer:    libraries@haskell.org
+bug-reports: http://hackage.haskell.org/trac/ghc/newticket?component=libraries/directory
 synopsis:      library for directory handling
 description:
        This package provides a library for handling directories.
@@ -14,7 +15,11 @@ extra-tmp-files:
 extra-source-files:
         config.guess config.sub install-sh
         configure.ac configure include/HsDirectoryConfig.h.in
-cabal-version: >= 1.2
+cabal-version: >= 1.6
+
+source-repository head
+    type:     git
+    location: http://darcs.haskell.org/packages/directory.git/
 
 Library {
     exposed-modules:
@@ -25,7 +30,11 @@ Library {
     includes: HsDirectory.h
     install-includes: HsDirectory.h HsDirectoryConfig.h
     extensions: CPP, ForeignFunctionInterface
-    build-depends: base, old-time, filepath
+    if impl(ghc >= 7.1)
+        extensions: NondecreasingIndentation
+    build-depends: base >= 4.2 && < 4.4,
+                   old-time >= 1.0 && < 1.1,
+                   filepath >= 1.1 && < 1.3
     if !impl(nhc98) {
       if os(windows) {
           build-depends: Win32