packages feed

xmonad-spotify-0.1.2.1: xmonad-spotify.cabal

cabal-version:      1.18
name:               xmonad-spotify
version:            0.1.2.1
license:            BSD3
license-file:       LICENSE
copyright:          Copyright: (c) 2018-2019 Vanessa McHale
maintainer:         vamchale@gmail.com
author:             Vanessa McHale
synopsis:           Bind media keys to work with Spotify
description:        Bind media keys to work with Spotify using dbus.
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/vmchale/xmonad-spotify

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

library
    exposed-modules:  XMonad.Util.Spotify
    hs-source-dirs:   src
    default-language: Haskell98
    ghc-options:      -Wall
    build-depends:
        base >=4.8 && <5,
        dbus -any,
        containers -any,
        X11 -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