summaryrefslogtreecommitdiff
path: root/sensible-directory.cabal
blob: 6eb8222e02a455c0985e112a0c9aa2ab9bea229e (plain)
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
name:                sensible-directory
version:             0.1.0.0
-- synopsis:            
description:         Try to guess the appropriate cache directory.
license:             BSD3
-- license-file:        LICENSE
author:              James Crayne
maintainer:          jim.crayne@gmail.com
-- copyright:           
-- category:            
build-type:          Simple
-- extra-source-files:  
cabal-version:       >=1.10

Flag dirxdg
  description: compat layer for old directory package
  default: False

library
  exposed-modules:     SensibleDir
  -- other-modules:       
  -- other-extensions:    
  build-depends:       base, filepath
  if flag(dirxdg) || impl(ghc < 8)
    build-depends:     directory >= 1.2.2, directory-xdg
  else
    build-depends:     directory >= 1.2.3
  hs-source-dirs:      src
  default-language:    Haskell2010