packages feed

emacs-keys-0.0.1.0: emacs-keys.cabal

name:                emacs-keys
version:             0.0.1.0
synopsis:            library to parse emacs style keybinding into the modifiers and the chars
description:         Allows parsing emacs style keybindings like "M-a", "C-M-a" or
                     "M-Return". For convenience a TH helper that turns parse
                     errors into compile errors is also provided.
homepage:            https://github.com/cocreature/emacs-keys
bug-reports:         https://github.com/cocreature/emacs-keys
license:             ISC
license-file:        LICENSE
author:              Moritz Kiefer
maintainer:          moritz.kiefer@purelyfunctional.org
-- copyright:           
category:            Parsing
build-type:          Simple
-- extra-source-files:  
cabal-version:       >=1.10


source-repository    head
  type:              git
  location:          https://github.com/cocreature/emacs-keys.git

library
  exposed-modules:     EmacsKeys
  other-modules:       EmacsKeys.Parser
                     , EmacsKeys.TH
  build-depends:       base >=4.8 && < 4.9
                     , template-haskell >= 2.10 && < 2.11
                     , xkbcommon >= 0.0 && < 0.1
                     , th-lift >= 0.7 && < 0.8
                     , split >= 0.2 && < 0.3
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:         -Wall

test-suite tasty
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Test.hs
  build-depends:       emacs-keys
                     , base >= 4.8 && < 4.9
                     , tasty >= 0.10 && < 0.11
                     , tasty-hspec >= 1.1 && < 1.2
                     , tasty-quickcheck >= 0.8 && < 0.9
                     , xkbcommon >= 0.0 && < 0.1
  ghc-options:         -Wall

test-suite doctests
  default-language:    Haskell2010
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Doctests.hs
  build-depends:       base >= 4.8 && < 4.9
                     , doctest >= 0.10 && < 0.11