packages feed

i3ipc-0.2.0.0: i3ipc.cabal

name:                i3ipc
version:             0.2.0.0
description:         Library for controlling i3 through it's IPC. i3 communicates using a JSON interface over a unix socket.
                     For JSON parsing I'm using Aeson. I've written out all the records and types to allow anyone to 
                     easily interact with i3 from a Haskell application.
homepage:            https://github.com/leshow/i3ipc#readme
license:             BSD3
license-file:        LICENSE
author:              Evan Cameron
maintainer:          cameron.evan@gmail.com
synopsis:            A type-safe wrapper around i3's IPC
copyright:           2019 Evan Cameron
category:            Lib
build-type:          Simple
extra-source-files:  README.md test/event/*.json test/reply/*.json
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     I3IPC
                     , I3IPC.Event
                     , I3IPC.Message
                     , I3IPC.Reply
                     , I3IPC.Subscribe
  build-depends:       base                 >= 4.7 && < 5
                     , aeson                >= 1.2 && < 1.5
                     , bytestring           >= 0.10 && < 0.11
                     , containers           >= 0.5.10 && < 0.7
                     , binary               >= 0.8.6 && < 0.10
                     , text                 >= 1.2.1.0 && < 1.3
                     , vector               >= 0.11.0 && < 0.13
                     , network              >= 2.6.3.5 && < 3.2
                     , typed-process        >= 0.2.4 && < 0.3
                     , exceptions           >= 0.8.1 && < 0.10.5
                     
  default-language:    Haskell2010
  ghc-options:         -Wall -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints 
  default-extensions:          DeriveFoldable
                            , DeriveFunctor
                            , DeriveGeneric
                            , DeriveTraversable
                            , DeriveLift
                            , DerivingStrategies
                            , DeriveAnyClass
                            , GeneralizedNewtypeDeriving
                            , OverloadedStrings
                            , OverloadedLabels
                            , ExistentialQuantification
                            , StandaloneDeriving
                            , ScopedTypeVariables
                            , UnicodeSyntax
                            , BinaryLiterals
                            , NumDecimals
                            , ConstraintKinds
                            , RankNTypes
                            , PolyKinds
                            , DataKinds
                            , TypeApplications
                            , GADTs
                            , NamedFieldPuns
                            , InstanceSigs
                            , TypeSynonymInstances
                            , MultiParamTypeClasses
                            , FunctionalDependencies
                            , ConstrainedClassMethods
                            , InstanceSigs
                            , FlexibleInstances
                            , FlexibleContexts
                            , BangPatterns
                            , ViewPatterns
                            , PatternGuards
                            , MultiWayIf
                            , EmptyCase
                            , LambdaCase
                            , TupleSections

test-suite i3ipc-test 
  type:               exitcode-stdio-1.0
  hs-source-dirs:     test
  main-is:            Spec.hs  
  build-depends:      base 
                    , hspec
                    , bytestring
                    , aeson
                    , i3ipc
  ghc-options:        -threaded -rtsopts -with-rtsopts=-N 
  default-language:   Haskell2010

source-repository head
  type:     git
  location: https://github.com/leshow/i3ipc