summaryrefslogtreecommitdiff
path: root/sensible-directory/sensible-directory.cabal
blob: 07497eef5e84d5014693a5e99dba3b0c5c59f68d (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