packages feed

xmonad-vanessa-0.1.1.1: xmonad-vanessa.cabal

name:                xmonad-vanessa
version:             0.1.1.1
synopsis:            Custom xmonad, which uses stack and sets various defaults
description:         Please see README.md
homepage:            https://github.com/vmchale/xmonad-vanessa#readme
license:             BSD3
license-file:        LICENSE
author:              Vanessa McHale
maintainer:          tmchale@wisc.edu
copyright:           2016 Vanessa McHale
category:            Web
build-type:          Simple
extra-source-files:  README.md, stack.yaml
cabal-version:       >=1.10

Flag library {
  Description: Don't build an executable
  Default:     False
}

Flag gold {
  Description: Enable the gold linker for faster build times
  Default:     True
}

library
  hs-source-dirs:      src
  exposed-modules:     XMonad.Config.Vanessa
                     , XMonad.Util.Brightness
                     , XMonad.Util.Keyboard
                     , XMonad.Util.Volume
                     , XMonad.Util.MediaKeys
  build-depends:       base >= 4.7 && < 5
                     , xmonad >= 0.13
                     , xmonad-contrib
                     , containers
                     , process
                     , X11
                     , transformers
  if flag(gold)
    ghc-options:       -optl-fuse-ld=gold
    ld-options:        -fuse-ld=gold
  ghc-options:         -fwarn-unused-imports
  default-language:    Haskell2010

executable xmonad
  if flag(library)
    Buildable:         False
  hs-source-dirs:      app
  main-is:             Main.hs
  if flag(gold)
    ghc-options:       -optl-fuse-ld=gold
    ld-options:        -fuse-ld=gold
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -O3
  -- -fllvm -optlo-O3
  build-depends:       base
                     , xmonad-vanessa
  default-language:    Haskell2010

executable getkb
  if flag(library)
    Buildable:         False
  hs-source-dirs:      app
  main-is:             ParseKBLayout.hs
  if flag(gold)
    ghc-options:       -optl-fuse-ld=gold
    ld-options:        -fuse-ld=gold
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -O3
  -- -fllvm -optlo-O3
  build-depends:       base
                     , xmonad-vanessa
  default-language:    Haskell2010

test-suite xmonad-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , xmonad-vanessa
                     , hspec
                     , xmonad
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N 

source-repository head
  type:     git
  location: https://github.com/vmchale/xmonad-vanessa