packages feed

xmonad-volume-0.1.0.0: xmonad-volume.cabal

cabal-version: 1.18
name: xmonad-volume
version: 0.1.0.0
license: BSD3
license-file: LICENSE
copyright: Copyright: (c) 2018 Vanessa McHale
maintainer: vanessa.mchale@iohk.io
author: Vanessa McHale
homepage: https://github.com/vmchale/xmonad-volume#readme
synopsis: XMonad volume controls
description:
    XMonad volume controls using ALSA
category: XMonad
build-type: Simple
extra-source-files:
    cabal.project.local
extra-doc-files: README.md
                 CHANGELOG.md

source-repository head
    type: darcs
    location: https://hub.darcs.net/vamchale/xmonad-volume

flag development
    description:
        Enable `-Werror`
    default: False
    manual: True

library
    exposed-modules:
        XMonad.Util.ALSA
    hs-source-dirs: src
    default-language: Haskell98
    other-extensions: TupleSections
    ghc-options: -Wall
    build-depends:
        base >=4.3 && <5,
        alsa-mixer -any,
        xmonad -any,
        X11 -any,
        containers -any,
        composition-prelude -any
    
    if flag(development)
        ghc-options: -Werror
    
    if !impl(ghc >=8.0)
        build-depends:
            transformers -any
    
    if impl(ghc >=8.0)
        ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates
                     -Wredundant-constraints -Widentities
    
    if impl(ghc >=8.4)
        ghc-options: -Wmissing-export-lists