cabal-version:       2.4
name:                evdev
version:             0.1.1.0
author:              George Thomas
maintainer:          George Thomas
description:         Enables access to the linux event device interface, with an optional high-level Streamly-based API.
synopsis:            Bindings to libevdev
homepage:            https://github.com/georgefst/evdev
license:             BSD-3-Clause
license-file:        LICENSE
category:            System
extra-source-files:  CHANGELOG.md

source-repository head
  type:     git
  location: git://github.com/georgefst/evdev.git

library
  exposed-modules:     Evdev
                       Evdev.Codes
                       Evdev.LowLevel
                       Evdev.Stream
  hs-source-dirs:      src
  ghc-options:         -Wall
  build-depends:       base                 >= 4.12.0 && < 4.14, 
                       bytestring           >= 0.10.9 && < 0.11,
                       composition          >= 1.0.2 && < 1.1,
                       containers           >= 0.6.2 && < 0.7,
                       either               >= 5.0.1 && < 5.1,
                       time                 >= 1.9.3 && < 1.10,
                       unix                 >= 2.7.2 && < 2.8,
                       process              >= 1.6.5 && < 1.7,
                       extra                >= 1.6.18 && < 1.7,
                       hinotify             >= 0.4 && < 0.5,
                       posix-paths          >= 0.2.1 && < 0.3,
                       rawfilepath          >= 0.2.4 && < 0.3,
                       streamly             >= 0.6.1 && < 0.8,
                       safe                 >= 0.3.18 && < 0.4,
  build-tool-depends:  c2hs:c2hs
  default-language:    Haskell2010
  default-extensions:  FlexibleContexts
                       GeneralizedNewtypeDeriving
                       LambdaCase
                       OverloadedLists
                       OverloadedStrings
                       PatternSynonyms
                       TupleSections
                       ViewPatterns
  includes:            libevdev-1.0/libevdev/libevdev.h
                       linux/input.h
  extra-libraries:     evdev