cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.6.
--
-- see: https://github.com/sol/hpack

name:           xdg-basedir-compliant
version:        1.1.0.1
synopsis:       XDG Basedir
description:    See README.md
category:       System
homepage:       https://github.com/kephas/xdg-basedir-compliant#readme
bug-reports:    https://github.com/kephas/xdg-basedir-compliant/issues
author:         Pierre Thierry
maintainer:     pierre@nothos.net
copyright:      2022 Pierre Thierry
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    CHANGELOG

source-repository head
  type: git
  location: https://github.com/kephas/xdg-basedir-compliant

library
  exposed-modules:
      System.XDG
      System.XDG.Env
      System.XDG.Error
      System.XDG.FileSystem
      System.XDG.Internal
  other-modules:
      Paths_xdg_basedir_compliant
  hs-source-dirs:
      src
  default-extensions:
      BlockArguments
      FlexibleContexts
      GADTs
      LambdaCase
      PolyKinds
      RankNTypes
      ScopedTypeVariables
      TypeOperators
  ghc-options: -Wall -fplugin=Polysemy.Plugin
  build-depends:
      base >=4.7 && <5
    , bytestring
    , directory
    , filepath
    , path
    , polysemy
    , polysemy-plugin
    , polysemy-zoo
    , split
  default-language: Haskell2010

test-suite xdg-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_xdg_basedir_compliant
  hs-source-dirs:
      test
  default-extensions:
      BlockArguments
      FlexibleContexts
      GADTs
      LambdaCase
      PolyKinds
      RankNTypes
      ScopedTypeVariables
      TypeOperators
  ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fplugin=Polysemy.Plugin
  build-depends:
      QuickCheck
    , aeson
    , base >=4.7 && <5
    , bytestring
    , directory
    , filepath
    , hspec
    , path
    , polysemy
    , polysemy-plugin
    , polysemy-zoo
    , split
    , xdg-basedir-compliant
  default-language: Haskell2010